Blender Git Commit Log

Git Commits -> Revision b205ec4

Revision b205ec4 by Ton Roosendaal (master)
December 9, 2008, 15:59 (GMT)
2.5

Area Manager: revised how an area subdivision gets managed. Originally
the 'spacedata' would store regiondata too, but this already became
impractical (like having view2d data in region is useful). So I left
that part how it is. See new diagram:

http://wiki.blender.org/index.php/BlenderDev/Blender2.5/AreaManager

This means that regions in an Area define location/size or constraints
for how they get arranged. The "RegionType" which is linked to this
defines its functionality.

For fun, test, and code validation: two temporary hotkeys added.
SKEY: splits current region horizontally
SHIFT+S: splits vertically

Note - in outliner - that "context" sticks to the Area as whole, the region
here only defines view. That's the purpose. :) For two outliners with different
context you open 2 areas.
Also note that dragging screen-edges shows the region-alignment type (split
with percentage).






Commit Details:

Full Hash: b205ec4f18b704edc63f914cefc2d16b2784803a
SVN Revision: 17763
Parent Commit: b9e04c6
Lines Changed: +145, -61

10 Modified Paths:

/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+40, -15) (Diff)
/source/blender/editors/screen/screen_ops.c (+65, -5) (Diff)
/source/blender/editors/screen/spacetypes.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+1, -7) (Diff)
/source/blender/editors/space_time/space_time.c (+3, -9) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+17, -9) (Diff)
/source/blender/makesdna/DNA_space_types.h (+15, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021