def new_animation(self):
		text, ok = QInputDialog.getText(self, 'New Animation', 'Enter seq_shot (ie: a01)')
		if ok:
			text = str(text)
			amu.createNewShotFolders(os.environ['SHOTS_DIR'], text)
		self.refresh()
		return
 def new_animation(self):
     text, ok = QInputDialog.getText(self, 'New Animation',
                                     'Enter seq_shot (ie: a01)')
     if ok:
         text = str(text)
         amu.createNewShotFolders(os.environ['SHOTS_DIR'], text)
     self.refresh()
     return
	def new_animation(self):
		text, ok = QInputDialog.getText(self, 'New Shot', 'Enter seq_shot (ie: a01)')
		if ok:
			text = str(text)
			if self.context.name == 'Previs':
				amu.createNewPrevisFolders(self.context.folder, text)
			else:
				amu.createNewShotFolders(self.context.folder, text)
			self.context.add_item(text)
			self.refresh()
		return
Exemple #4
0
 def new_animation(self):
     text, ok = QInputDialog.getText(self, 'New Shot',
                                     'Enter seq_shot (ie: a01)')
     if ok:
         text = str(text)
         if self.context.name == 'Previs':
             amu.createNewPrevisFolders(self.context.folder, text)
         else:
             amu.createNewShotFolders(self.context.folder, text)
         self.copy_template_animation(text)
         self.context.add_item(text)
         self.refresh()
     return