Added curly braces around an #ifdef NEWTRANSFORM.
authorStephen Swaney <sswaney@centurytel.net>
Sat, 19 Mar 2005 13:26:03 +0000 (13:26 +0000)
committerStephen Swaney <sswaney@centurytel.net>
Sat, 19 Mar 2005 13:26:03 +0000 (13:26 +0000)
Needed when NEWTRANSFORM was not defined.

source/blender/src/space.c

index 70027f34f15a39712f0f96d01bd3aedc46b42d3f..cbea4c5fddbc01b2312a14053dbe4bd32c99be06 100644 (file)
@@ -1555,10 +1555,11 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
                                                transform('s');
 #endif
                                        }
                                                transform('s');
 #endif
                                        }
-                                       else if(G.qual==(LR_SHIFTKEY|LR_CTRLKEY))
+                                       else if(G.qual==(LR_SHIFTKEY|LR_CTRLKEY)){
 #ifdef NEWTRANSFORM
                                                Transform(TFM_TOSPHERE);
 #endif
 #ifdef NEWTRANSFORM
                                                Transform(TFM_TOSPHERE);
 #endif
+                                       }
                                        
                                }
                                else if(G.qual==LR_ALTKEY) {
                                        
                                }
                                else if(G.qual==LR_ALTKEY) {