From 96369387e7e58a01d0b28adc3352aa3d4b4770b6 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Tue, 22 May 2012 08:22:57 +0000
Subject: [PATCH] fix for first file playing the loop twice.

---
 system_demo_mode/demo_mode.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system_demo_mode/demo_mode.py b/system_demo_mode/demo_mode.py
index 00b092f6b..c8b7739e1 100644
--- a/system_demo_mode/demo_mode.py
+++ b/system_demo_mode/demo_mode.py
@@ -174,7 +174,7 @@ def demo_mode_temp_file():
     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
 
-- 
GitLab