aData.myActors.clear();
}
}
- myView->update();
+ myView->getRW()->getRenderWindow()->Render();
+ //myView->update();
}
//************************************************************************
time.sleep(aDelay)
aNbSurfaces = aIsoSurfaces.GetNbSurfaces()
-aNbSurfaces = 64
+aNbSurfaces = 32
for i in range(2,aNbSurfaces) :
aIsoSurfaces.SetNbSurfaces(i)
myView.Update();
anAnim.generateFrames()
print "Start Animation"
anAnim.setSpeed(99)
-anAnim.setCycling(1)
+#anAnim.setCycling(1)
anAnim.startAnimation()
myView.FitAll()
+while 1:
+ time.sleep(1+aDelay)
+ if not anAnim.isRunning():
+ anAnim.stopAnimation()
+ break
+
+#anAnim.clearView()
time.sleep(aDelay)
aNbSurfaces = aIsoSurfaces.GetNbSurfaces()
-aNbSurfaces = 64
+aNbSurfaces = 32
for i in range(2,aNbSurfaces) :
aIsoSurfaces.SetNbSurfaces(i)
myView.Update();
anAnim.generateFrames()
print "Start Animation"
anAnim.setSpeed(99)
-anAnim.setCycling(1)
+#anAnim.setCycling(1)
anAnim.startAnimation()
myView.FitAll()
+while 1:
+ time.sleep(1+aDelay)
+ if not anAnim.isRunning():
+ anAnim.stopAnimation()
+ break
+
+#anAnim.clearView()