diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-19 12:10:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-19 12:15:18 +0300 |
commit | 16882ca5356d5861e3266b99e9b2434e5cf49073 (patch) | |
tree | 9b52395e256e1f032f961c0798723707119e7dac /source/blender/editors/screen | |
parent | 3c30d3bcbd93da4e4cded76c3fc3a30152a43cb4 (diff) |
Image Space: make 'UV Edit' a separate mode
This is needed for splitting UV into its own editor, see: T54744
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_context.c b/source/blender/editors/screen/screen_context.c index a87184120ca..021f5b9abd1 100644 --- a/source/blender/editors/screen/screen_context.c +++ b/source/blender/editors/screen/screen_context.c @@ -437,7 +437,7 @@ int ed_screen_context(const bContext *C, const char *member, bContextDataResult if (ED_uvedit_test(obedit)) { WorkSpace *workspace = CTX_wm_workspace(C); if ((workspace->tools_space_type == SPACE_IMAGE) && - (workspace->tools_mode == SI_MODE_VIEW)) + (workspace->tools_mode == SI_MODE_UV)) { CTX_data_id_pointer_set(result, &obact->id); } |