diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-03-05 05:43:40 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-03-05 05:43:40 +0300 |
commit | 9df5b624ae5bbb4e98112de2016e4705b1aada8c (patch) | |
tree | 0daf55564afd7d12235ad50d58adf36ff39171e7 /source/blender/editors/space_view3d/space_view3d.c | |
parent | f7909598e47d29fad84f1f013790c4e2710ac01a (diff) |
Bugfix #20574: New 3D View regions were all had their 'type' set to 'RGN_TYPE_UI', which meant that the same region contents would get drawn in instances all over, causing quite some confusion.
Diffstat (limited to 'source/blender/editors/space_view3d/space_view3d.c')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index fc67881367f..e9f118fb47a 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -230,7 +230,7 @@ static SpaceLink *view3d_new(const bContext *C) ar= MEM_callocN(sizeof(ARegion), "toolshelf for view3d"); BLI_addtail(&v3d->regionbase, ar); - ar->regiontype= RGN_TYPE_UI; + ar->regiontype= RGN_TYPE_TOOLS; ar->alignment= RGN_ALIGN_LEFT; ar->flag = RGN_FLAG_HIDDEN; @@ -238,7 +238,7 @@ static SpaceLink *view3d_new(const bContext *C) ar= MEM_callocN(sizeof(ARegion), "tool properties for view3d"); BLI_addtail(&v3d->regionbase, ar); - ar->regiontype= RGN_TYPE_UI; + ar->regiontype= RGN_TYPE_TOOL_PROPS; ar->alignment= RGN_ALIGN_BOTTOM|RGN_SPLIT_PREV; ar->flag = RGN_FLAG_HIDDEN; |