Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-04-07 12:27:13 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-04-07 12:27:13 +0400
commit45ce1c003d7d28b2beb5dbf465f523c5bc41bc55 (patch)
treea03f36a0c8513d837d2d4e8db40b6d022b40d546 /source/blender/editors/include/ED_util.h
parentf4e312dd1b53d3fa4c65f47bfb9972bbb9f5abab (diff)
Modes are now toggled on using operators on load if the file was saved in
that mode. This ensures proper initialization happens like creating the cursor or building an acceleration structure. It also means edit and particle mode are now saveable. Not sure yet if this is a good feature, though personally I like being able to load my exact state again after saving, but maybe entering edit mode is too slow in some cases? It's easy to make it work only for the sculpt/paint modes again if wanted. This fixes bug #21004 about a missing sculpt cursor on load.
Diffstat (limited to 'source/blender/editors/include/ED_util.h')
-rw-r--r--source/blender/editors/include/ED_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_util.h b/source/blender/editors/include/ED_util.h
index cc4f906ad37..7bf3ec88a4b 100644
--- a/source/blender/editors/include/ED_util.h
+++ b/source/blender/editors/include/ED_util.h
@@ -37,6 +37,7 @@ struct wmOperatorType;
/* ed_util.c */
+void ED_editors_init (struct bContext *C);
void ED_editors_exit (struct bContext *C);
/* ************** Undo ************************ */