Bugfix: new DPI-controlled UI size code was setting 'view2d re-init'
authorTon Roosendaal <ton@blender.org>
Sun, 5 Jun 2011 12:57:09 +0000 (12:57 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 5 Jun 2011 12:57:09 +0000 (12:57 +0000)
commit485a89f5d322358c8e32aee372fd6fa5cca4b3ee
treedd75bdba3736be999b7c3846d5f74ec92ba24da7
parent619df86faddf99bffa84b2d20bba69e68c4dc6a5
Bugfix: new DPI-controlled UI size code was setting 'view2d re-init'
flag on ED_area_initialize(). This however was causing 2 problems;
- the view state got reset (popping window view back)
- the view2d operator polls failed (sliders didnt work)

This re-init was only needed for the headers though, limiting it
to these types of regions solves it.
source/blender/editors/screen/area.c
source/blender/editors/space_api/spacetypes.c