comparison pyink/MBScene.py @ 1325:e155064f6c7e

More comment
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 30 Jan 2011 20:42:53 +0800
parents 740b3239030e
children 407f321f0d7c
comparison
equal deleted inserted replaced
1324:740b3239030e 1325:e155064f6c7e
260 """ 260 """
261 Execute the current animation till the last frame. 261 Execute the current animation till the last frame.
262 """ 262 """
263 if self.btnRun.get_label() == "Run": 263 if self.btnRun.get_label() == "Run":
264 # 264 #
265 # Make dup groups empty 265 # Make dup groups empty.
266 # It forces TweenObject to re-generate content from scratch.
266 # 267 #
267 nlayers = self._domviewui.get_layer_num() 268 nlayers = self._domviewui.get_layer_num()
268 for layer_idx in range(nlayers): 269 for layer_idx in range(nlayers):
269 layer_dup = self._domviewui.get_layer_dup_group(layer_idx) 270 layer_dup = self._domviewui.get_layer_dup_group(layer_idx)
270 for child in layer_dup.childList(): 271 for child in layer_dup.childList():