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:
authorCampbell Barton <ideasman42@gmail.com>2018-03-02 05:19:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-02 05:19:52 +0300
commita7355c32216e4b9a5b58837802d79a45f883f7ca (patch)
tree01c2b0250c4494e2892fe5ebaaed678d003b2ebf /source/blender/editors/include/ED_scene.h
parentbc23381a26b41df3ec03ca03e09852ce7141822a (diff)
WorksSpace: sync object-modes when changing scene
Note that this code will likely be generalized, currently each new case is a little different though so it's too early to move them into general functions.
Diffstat (limited to 'source/blender/editors/include/ED_scene.h')
-rw-r--r--source/blender/editors/include/ED_scene.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_scene.h b/source/blender/editors/include/ED_scene.h
index 647a8dda1b9..740187dbe32 100644
--- a/source/blender/editors/include/ED_scene.h
+++ b/source/blender/editors/include/ED_scene.h
@@ -31,9 +31,10 @@ enum eSceneCopyMethod;
struct Scene *ED_scene_add(struct Main *bmain, struct bContext *C, struct wmWindow *win, enum eSceneCopyMethod method) ATTR_NONNULL();
bool ED_scene_delete(struct bContext *C, struct Main *bmain, struct wmWindow *win, struct Scene *scene) ATTR_NONNULL();
-void ED_scene_exit(struct bContext *C) ATTR_NONNULL();
-void ED_scene_changed_update(struct Main *bmain, struct bContext *C, struct Scene *scene_new,
- const struct bScreen *active_screen) ATTR_NONNULL();
+void ED_scene_change_update(
+ struct Main *bmain, struct bContext *C,
+ wmWindow *win, const struct bScreen *screen,
+ struct Scene *scene_old, struct Scene *scene_new) ATTR_NONNULL();
bool ED_scene_view_layer_delete(
struct Main *bmain, struct Scene *scene, struct ViewLayer *layer,
struct ReportList *reports) ATTR_NONNULL(1, 2, 3);