[Bf-blender-cvs] [dc9fff7] master: 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.
Andrew Buttery
noreply at git.blender.org
Sun Jan 12 00:50:54 CET 2014
Commit: dc9fff74ccc49e6ca2c5b17671844970a61cf844
Author: Andrew Buttery
Date: Sun Jan 12 00:50:43 2014 +0100
https://developer.blender.org/rBdc9fff74ccc49e6ca2c5b17671844970a61cf844
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
===================================================================
M source/blender/editors/space_image/space_image.c
===================================================================
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 2ba9123..2939e49 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -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 */
More information about the Bf-blender-cvs
mailing list