[Durian-svn] [5183] sim=False for dragon didnt work

william institute at blender.org
Wed Jun 16 15:22:28 CEST 2010


Revision: 5183
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=5183
Author:   william
Date:     2010-06-16 15:22:28 +0200 (Wed, 16 Jun 2010)
Log Message:
-----------
sim=False for dragon didnt work

Modified Paths:
--------------
    pro/scripts/modules/finals_config.py

Modified: pro/scripts/modules/finals_config.py
===================================================================
--- pro/scripts/modules/finals_config.py	2010-06-16 13:17:47 UTC (rev 5182)
+++ pro/scripts/modules/finals_config.py	2010-06-16 13:22:28 UTC (rev 5183)
@@ -1164,10 +1164,10 @@
 
     for obj in [obj for obj_name, obj in object_items if obj_name == "GEO-wing_sim"]:
         cloth_mod = obj.modifiers["Cloth"]
-        if sim:
-            cloth_mod.realtime = True
-            cloth_mod.render = True
 
+        cloth_mod.realtime = sim
+        cloth_mod.render = sim
+
         pointcache_generic_setup(cloth_mod.point_cache, frame_start, frame_end, pre_roll)
         cloth_mod.point_cache.name = "dragon_baby_" + base_name
         pointcache_generic_bake(cloth_mod.point_cache, baked)



More information about the Durian-svn mailing list