merge with trunk at r27259 and commit of a patch by anthony jones to fix msvc (though...
[blender-staging.git] / source / gameengine / BlenderRoutines / BL_KetsjiEmbedStart.cpp
index 1688be6d5281c0175d4d2d980fa5756d96406cbe..f2d0fb8aeededf6ca1b40abf610805e3419ad073 100644 (file)
@@ -252,10 +252,10 @@ extern "C" void StartKetsjiShell(struct bContext *C, struct ARegion *ar, rcti *c
                                camzoom = 1.0f;
                        }
                        else {
-                               camzoom = (1.41421 + (rv3d->camzoom / 50.0));
-                               camzoom *= camzoom;
+                       camzoom = (1.41421 + (rv3d->camzoom / 50.0));
+                       camzoom *= camzoom;
                                camzoom = 4.0 / camzoom;
-                       }
+               }
                }
                else {
                        camzoom = 2.0;