-- Bugfix #3524: theEditMesh structure was not being initialized correctly.
authorKen Hughes <khughes@pacific.edu>
Fri, 2 Dec 2005 18:00:38 +0000 (18:00 +0000)
committerKen Hughes <khughes@pacific.edu>
Fri, 2 Dec 2005 18:00:38 +0000 (18:00 +0000)
source/blender/blenkernel/intern/blender.c

index 16ed62d9222766da668809852be29a0affe8fd84..ed9da72c702d41ffc4be55d4c22d649b51a4fe65 100644 (file)
@@ -196,8 +196,8 @@ void initglobals(void)
 {
        memset(&G, 0, sizeof(Global));
        
 {
        memset(&G, 0, sizeof(Global));
        
+       memset(&theEditMesh, 0, sizeof(theEditMesh));
        G.editMesh = &theEditMesh;
        G.editMesh = &theEditMesh;
-       memset(G.editMesh, 0, sizeof(G.editMesh));
 
        U.savetime= 1;
 
 
        U.savetime= 1;