fix for struct definition building with msvc2008 and some style cleanup.
[blender-staging.git] / source / gameengine / Ketsji / KX_Scene.cpp
index fec275322e9a02553db9938e16217395b8c69028..3e1a81c2f4ff8e44ca16ef120bc388c785cbec9c 100644 (file)
@@ -1172,9 +1172,8 @@ void KX_Scene::ReplaceMesh(class CValue* obj,void* meshobj, bool use_gfx, bool u
                                        );
                                }
                                newobj->SetDeformer(modifierDeformer);
-                       } 
-                       else    if (bHasShapeKey)
-                       {
+                       }
+                       else if (bHasShapeKey) {
                                BL_ShapeDeformer* shapeDeformer;
                                if (bHasArmature) 
                                {