Fix for bug #10347: particles reset with orbit around selection
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 5 May 2008 17:41:14 +0000 (17:41 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 5 May 2008 17:41:14 +0000 (17:41 +0000)
option, was doing unnecessary dependency graph calls.

source/blender/src/transform_conversions.c

index f3fec3cfec7f3d98be9cf20c17a4b42075cfc273..8859194ff9c65552066196ad39d6a5edbb25c70b 100644 (file)
@@ -3072,6 +3072,10 @@ static void set_trans_object_base_flags(TransInfo *t)
         */
        Base *base;
        
+       /* don't do it if we're not actually going to recalculate anything */
+       if(t->mode == TFM_DUMMY)
+               return;
+
        /* makes sure base flags and object flags are identical */
        copy_baseflags();