[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3386] trunk/py/scripts/addons/ system_demo_mode/demo_mode.py: fix for first file playing the loop twice.

Campbell Barton ideasman42 at gmail.com
Tue May 22 10:22:58 CEST 2012


Revision: 3386
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3386
Author:   campbellbarton
Date:     2012-05-22 08:22:57 +0000 (Tue, 22 May 2012)
Log Message:
-----------
fix for first file playing the loop twice.

Modified Paths:
--------------
    trunk/py/scripts/addons/system_demo_mode/demo_mode.py

Modified: trunk/py/scripts/addons/system_demo_mode/demo_mode.py
===================================================================
--- trunk/py/scripts/addons/system_demo_mode/demo_mode.py	2012-05-22 02:25:21 UTC (rev 3385)
+++ trunk/py/scripts/addons/system_demo_mode/demo_mode.py	2012-05-22 08:22:57 UTC (rev 3386)
@@ -174,7 +174,7 @@
     temp_config = global_config_fallback.copy()
     temp_config["anim_time_min"] = 0.0
     temp_config["anim_time_max"] = 60.0
-    temp_config["anim_cycles"] = 1
+    temp_config["anim_cycles"] = 0  # ensures we switch when hitting the end
     temp_config["mode"] = 'PLAY'
     temp_config["is_tmp"] = True
 



More information about the Bf-extensions-cvs mailing list