} else {\r
scaling = diff;\r
}\r
- \r
- printf("Diff is %f, Scaling by %f on all axii\n", diff, scaling);\r
- sceneObjs[curObject].scale[0] *= scaling;\r
- sceneObjs[curObject].scale[1] *= scaling;\r
- sceneObjs[curObject].scale[2] *= scaling;\r
+\r
+ if ( scaling != 0 ) {\r
+ \r
+ printf("Diff is %f, Scaling by %f on all axii\n", diff, scaling);\r
+ sceneObjs[curObject].scale[0] *= scaling;\r
+ sceneObjs[curObject].scale[1] *= scaling;\r
+ sceneObjs[curObject].scale[2] *= scaling;\r
+\r
+ }\r
\r
starty = y;\r
}\r