Merging r58464 through r58474 from trunk into soc-2013-depsgraph_mt
[blender.git] / source / blender / blenkernel / intern / object.c
index 1013fbceff1e7208e699aaa01c9d32632ba3e591..a2a67b7c6ffaa781a3e0aaa1f1bbf86f483e5a0b 100644 (file)
@@ -1644,6 +1644,7 @@ void BKE_object_mat3_to_rot(Object *ob, float mat[3][3], bool use_compat)
 
                        if (use_compat) mat3_to_compatible_eulO(ob->rot, ob->rot, ob->rotmode, tmat);
                        else            mat3_to_eulO(ob->rot, ob->rotmode, tmat);
+                       break;
                }
        }
 }