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-01 13:07:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-01 13:33:06 +0300
commitbcafdc82d83f70312859c9a045c92daa326afbdf (patch)
treea9112ab0cdb81548d756711ba2014ddbc539ee6b /source/blender/editors/include
parent7aed2de798b1e5f8663e8fe608a99f6c9f53c382 (diff)
WorkSpace: fix mode exiting w/ multi-window
Activating an object exited modes for all other objects in the layer. Now check these objects aren't active in other windows first.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h
index ddbf3325a87..3e04c8ccc8e 100644
--- a/source/blender/editors/include/ED_object.h
+++ b/source/blender/editors/include/ED_object.h
@@ -160,6 +160,9 @@ bool ED_object_mode_generic_enter(
void ED_object_mode_generic_exit(
const struct EvaluationContext *eval_ctx,
struct WorkSpace *workspace, struct Scene *scene, struct Object *ob);
+bool ED_object_mode_generic_has_data(
+ const struct EvaluationContext *eval_ctx,
+ struct Object *ob);
void ED_object_location_from_view(struct bContext *C, float loc[3]);
void ED_object_rotation_from_view(struct bContext *C, float rot[3], const char align_axis);