예제 #1
0
 def loadPre(self):
     goto = PillarsUtils.loadGoto()
     if goto:
         self.gotobar.setProject(goto.project)
         self.gotobar.setAsset(goto.asset)
         self.gotobar.setTask(goto.task)
         self.gotobar.setInfo("P:/Project/%s/%s/%s" % (goto.project, goto.asset, goto.task))
         
     self.assets = PillarsUtils.loadAssets()
     self.updateAssetViewer()
예제 #2
0
 def loadFromGoto(self):
     self.project = PillarsUtils.loadGotoProject()
     self.asset = PillarsUtils.loadGotoAsset()
     self.task = PillarsUtils.loadGotoTask()
     self.author = PillarsUtils.loadGotoAuthor()
     if self.project and self.asset and self.task and self.author:
         self.toolbar.setInfo(self.project.name, self.asset.name, self.task.name, self.asset.location, self.task.location)
         self.toolbar.setLogName(self.author.name)
         
     self.assets = PillarsUtils.loadAssets()
     if self.assets:
         self.updateAssetViewer()