[Durian-svn] [2645] Added some baby dragon stuff to the finals_config.py.

nathan institute at blender.org
Thu Apr 29 17:48:45 CEST 2010


Revision: 2645
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=2645
Author:   nathan
Date:     2010-04-29 17:48:45 +0200 (Thu, 29 Apr 2010)
Log Message:
-----------
Added some baby dragon stuff to the finals_config.py.  Also made the default simulation range sim for one frame past the last frame, for vector blur.

Modified Paths:
--------------
    pro/scenes/03.4_chickenrun/3.4b.blend
    pro/scripts/modules/finals_config.py

Modified: pro/scenes/03.4_chickenrun/3.4b.blend
===================================================================
(Binary files differ)

Modified: pro/scripts/modules/finals_config.py
===================================================================
--- pro/scripts/modules/finals_config.py	2010-04-29 15:42:38 UTC (rev 2644)
+++ pro/scripts/modules/finals_config.py	2010-04-29 15:48:45 UTC (rev 2645)
@@ -37,7 +37,7 @@
 
     def pointcache_generic_setup(point_cache, frame_start, frame_end):
         point_cache.frame_start = frame_start - pre_roll
-        point_cache.frame_end = frame_end
+        point_cache.frame_end = frame_end + 1  # one extra frame for vector blur
         point_cache.step = 1
         point_cache.disk_cache = True
 
@@ -237,4 +237,8 @@
         mod = obj.modifiers["Cloth"]
         pointcache_generic_setup(mod.point_cache, frame_start, frame_end)
         
+        # Per-blend dragon baby stuff...
+        if base_name.startswith("3.4b"):
+            mod.point_cache.frame_start = frame_start - 1
+        
 



More information about the Durian-svn mailing list