Bugfix #28298
authorTon Roosendaal <ton@blender.org>
Thu, 25 Oct 2012 12:53:27 +0000 (12:53 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 25 Oct 2012 12:53:27 +0000 (12:53 +0000)
commit0405406280027b93d390f91047502fc53da20ebc
tree53786b8360d89b515b35c3a48a850ef75074f2e2
parent2505984b52862a4aa74af37e41d6ebdccc3c266f
Bugfix #28298

When I added DPI support in the UI, I added code that refreshes views for 2d
regions. These refreshes also happened on screen switches or file select, causing
header views (horizontal scrolled) to clear.

Now the code less intrusive, changing header views in fewer cases.

This is a patch provided by Anthony Edlin. Thanks dude!
source/blender/editors/interface/view2d.c
source/blender/editors/screen/area.c