Mistake in previous commit.
authorJanne Karhu <jhkarh@gmail.com>
Wed, 12 Aug 2009 17:41:03 +0000 (17:41 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Wed, 12 Aug 2009 17:41:03 +0000 (17:41 +0000)
source/blender/render/intern/source/pipeline.c

index 9e0d0e9efa741ac42bba064851598df2a9338f61..e38f2416ca8af39e7d22bb62f42bd7142e9f6fda 100644 (file)
@@ -2560,16 +2560,15 @@ static int render_initialize_from_scene(Render *re, Scene *scene, int anim, int
        /* check all scenes involved */
        tag_scenes_for_render(re);
 
-#ifdef 0
        /*
         * Disabled completely for now,
         * can be later set as render profile option
         * and default for background render.
        */
-
-       /* make sure dynamics are up to date */
-       update_physics_cache(re, scene, anim_init);
-#endif
+       if(0) {
+               /* make sure dynamics are up to date */
+               update_physics_cache(re, scene, anim_init);
+       }
        
        if(scene->r.scemode & R_SINGLE_LAYER)
                push_render_result(re);