WorkSpace: ED_workspace_object_mode_in_other_window check other windows

The same workspace can have different active objects depending on the
window. So check other windows.
This commit is contained in:
2018-03-02 20:01:49 +11:00
parent 8153f89518
commit e1f1567b56
4 changed files with 14 additions and 13 deletions

View File

@@ -195,7 +195,7 @@ void ED_workspace_object_mode_sync_from_scene(
struct wmWindowManager *wm, WorkSpace *workspace, struct Scene *scene);
bool ED_workspace_object_mode_in_other_window(
struct wmWindowManager *wm, WorkSpace *workspace, struct Object *obact,
struct wmWindowManager *wm, const struct wmWindow *win_compare, struct Object *obact,
eObjectMode *r_object_mode);
/* anim */