diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-01 13:07:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-01 13:33:06 +0300 |
commit | bcafdc82d83f70312859c9a045c92daa326afbdf (patch) | |
tree | a9112ab0cdb81548d756711ba2014ddbc539ee6b /source/blender/editors/include | |
parent | 7aed2de798b1e5f8663e8fe608a99f6c9f53c382 (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.h | 3 |
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); |