diff options
author | Ton Roosendaal <ton@blender.org> | 2004-12-04 20:52:44 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-12-04 20:52:44 +0300 |
commit | 8d4782f7297c4a703b23b6b5383c0d76e4907903 (patch) | |
tree | 0daf2388b98d7cecc2c6a0efc3f51d4a5371229b | |
parent | bebeecef78335bb5fec3e8e74f8dc5f6cafaa80d (diff) |
Was on my todo; with option "load No UI" the CTRL+X (start over) didnt
load UI either.
(editmesh commit is error in previous commit, but caused no harm)
-rw-r--r-- | source/blender/src/editmesh_tools.c | 2 | ||||
-rw-r--r-- | source/blender/src/usiblender.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index f0f53af36cf..cde1f9dba79 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -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 } diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index d74d55f5c95..8c1632b88d9 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -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 { |