Merged changes in the trunk up to revision 45383.
[blender.git] / source / blender / editors / transform / transform_orientations.c
index 025de8a47293b4112fa9110f7173189ee482eb37..af9c03af1b6c059dad9b7425ffd71f3fa24c9f19 100644 (file)
@@ -858,7 +858,7 @@ int getTransformOrientation(const bContext *C, float normal[3], float plane[3],
                if (ob && !(ob->flag & SELECT)) ob = NULL;
                
                for (base= scene->base.first; base; base= base->next) {
-                       if TESTBASELIB(v3d, base) {
+                       if (TESTBASELIB(v3d, base)) {
                                if (ob == NULL) {
                                        ob= base->object;
                                        break;