Beispiel #1
0
 def processFrame(self):
     self._frames += 1
     if UTdebug.TIME: UTdebug.stimer(str(self))
     if self.aborted():
         if UTdebug.TIME: UTdebug.ttimer(str(self))
         return
     if self._subtask and not self._subtask.finished():
         self._subtask.processFrame()
     else:
         sub = self._startrun()
         if sub:
             if isinstance(sub, list): self.setChain(sub)
             else: self.setSubtask(sub)
     if UTdebug.TIME: UTdebug.ttimer(str(self))
Beispiel #2
0
 def processFrame(self):
   self._frames += 1
   if UTdebug.TIME: UTdebug.stimer(str(self))
   if self.aborted(): 
     if UTdebug.TIME: UTdebug.ttimer(str(self))
     return
   if self._subtask and not self._subtask.finished():
     self._subtask.processFrame()
   else:
     sub = self._startrun()
     if sub:
       if isinstance(sub, list): self.setChain(sub)
       else: self.setSubtask(sub)
   if UTdebug.TIME: UTdebug.ttimer(str(self))
Beispiel #3
0
 def processFrame(self):
     self._frames += 1
     if core.instance.type_ == core.CORE_TOOL:
         self.trace("process frame")
     if UTdebug.TIME: UTdebug.stimer(str(self))
     if self.aborted():
         if UTdebug.TIME: UTdebug.ttimer(str(self))
         return
     someFinished = False
     allFinished = True
     for s in self._subtasks:
         if not s:
             someFinished = True
         elif s.finished():
             someFinished = True
         else:
             allFinished = False
             s.processFrame()
     if someFinished and self.idpChains: self._startrun()
     elif allFinished: self._startrun()
     if UTdebug.TIME: UTdebug.ttimer(str(self))
Beispiel #4
0
 def processFrame(self):
   self._frames += 1
   if core.instance.type_ == core.CORE_TOOL:
     self.trace("process frame")
   if UTdebug.TIME: UTdebug.stimer(str(self))
   if self.aborted():
     if UTdebug.TIME: UTdebug.ttimer(str(self))
     return
   someFinished = False
   allFinished = True
   for s in self._subtasks:
     if not s:
       someFinished = True
     elif s.finished():
       someFinished = True
     else:
       allFinished = False
       s.processFrame()
   if someFinished and self.idpChains: self._startrun()
   elif allFinished: self._startrun()
   if UTdebug.TIME: UTdebug.ttimer(str(self))
Beispiel #5
0
 def processFrame(self):
     self._frames += 1
     if UTdebug.TIME: UTdebug.stimer(str(self))
     self._startrun()
     if UTdebug.TIME: UTdebug.ttimer(str(self))
Beispiel #6
0
 def processFrame(self):
   self._frames += 1
   if UTdebug.TIME: UTdebug.stimer(str(self))
   self._startrun()
   if UTdebug.TIME: UTdebug.ttimer(str(self))