Fix T38160, N and T sidebars in Image Editor are swapped. Now the Properties are on the right side, which is consistent with other editors.
Differential Revision: https://developer.blender.org/D201
This commit is contained in:
parent
9151f5d227
commit
dc9fff74cc
|
@ -109,7 +109,7 @@ ARegion *image_has_buttons_region(ScrArea *sa)
|
|||
|
||||
BLI_insertlinkafter(&sa->regionbase, ar, arnew);
|
||||
arnew->regiontype = RGN_TYPE_UI;
|
||||
arnew->alignment = RGN_ALIGN_LEFT;
|
||||
arnew->alignment = RGN_ALIGN_RIGHT;
|
||||
|
||||
arnew->flag = RGN_FLAG_HIDDEN;
|
||||
|
||||
|
@ -133,7 +133,7 @@ ARegion *image_has_scope_region(ScrArea *sa)
|
|||
|
||||
BLI_insertlinkafter(&sa->regionbase, ar, arnew);
|
||||
arnew->regiontype = RGN_TYPE_PREVIEW;
|
||||
arnew->alignment = RGN_ALIGN_RIGHT;
|
||||
arnew->alignment = RGN_ALIGN_LEFT;
|
||||
|
||||
arnew->flag = RGN_FLAG_HIDDEN;
|
||||
|
||||
|
@ -174,7 +174,7 @@ static SpaceLink *image_new(const bContext *UNUSED(C))
|
|||
|
||||
BLI_addtail(&simage->regionbase, ar);
|
||||
ar->regiontype = RGN_TYPE_UI;
|
||||
ar->alignment = RGN_ALIGN_LEFT;
|
||||
ar->alignment = RGN_ALIGN_RIGHT;
|
||||
ar->flag = RGN_FLAG_HIDDEN;
|
||||
|
||||
/* scopes */
|
||||
|
@ -182,7 +182,7 @@ static SpaceLink *image_new(const bContext *UNUSED(C))
|
|||
|
||||
BLI_addtail(&simage->regionbase, ar);
|
||||
ar->regiontype = RGN_TYPE_PREVIEW;
|
||||
ar->alignment = RGN_ALIGN_RIGHT;
|
||||
ar->alignment = RGN_ALIGN_LEFT;
|
||||
ar->flag = RGN_FLAG_HIDDEN;
|
||||
|
||||
/* main area */
|
||||
|
|
Loading…
Reference in New Issue