Was on my todo; with option "load No UI" the CTRL+X (start over) didnt
authorTon Roosendaal <ton@blender.org>
Sat, 4 Dec 2004 17:52:44 +0000 (17:52 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 4 Dec 2004 17:52:44 +0000 (17:52 +0000)
load UI either.

(editmesh commit is error in previous commit, but caused no harm)

source/blender/src/editmesh_tools.c
source/blender/src/usiblender.c

index f0f53af36cf7256c287c2564dd0ac7b96b776bbb..cde1f9dba7984ef2248c6ba3af23749fb4b494c8 100644 (file)
@@ -3356,7 +3356,7 @@ void bevel_mesh(float bsize, int allfaces)
        removedoublesflag(1, limit);
 
        /* flush selected vertices to edges/faces */
-       EM_selectmode_set();
+       EM_select_flush();
 
 #undef BEV_DEBUG
 }
index d74d55f5c95d97b70bb5b712830b1c71085b86a8..8c1632b88d9d332889cd4507b3f7e04489c47606 100644 (file)
@@ -169,7 +169,10 @@ int BIF_read_homefile(void)
 
        /* only here free userdef themes... */
        BLI_freelistN(&U.themes);
-
+       
+       /* prevent loading no UI */
+       G.fileflags &= ~G_FILE_NO_UI;
+       
        if (BLI_exists(tstr)) {
                success = BKE_read_file(tstr, NULL);
        } else {