Snap System: missing change
authormano-wii <germano.costa@ig.com.br>
Fri, 14 Jul 2017 14:20:28 +0000 (11:20 -0300)
committermano-wii <germano.costa@ig.com.br>
Fri, 14 Jul 2017 14:20:28 +0000 (11:20 -0300)
source/blender/editors/transform/transform_snap_object.c

index 7ed60077baa32d474b7285a666b25818980a2324..761fb3b5b357f0ba07e9296d11fe7a832b184827 100644 (file)
@@ -170,7 +170,7 @@ struct SnapObjectContext {
                                }\
                                free_object_duplilist(lb);\
                        }\
-                       use_obedit = obedit && ob->data == obedit->data;\
+                       use_obedit = obedit && obj->data == obedit->data;\
                        ob = use_obedit ? obedit : obj;\
                        obmat = ob->obmat;\
                        CODE\