Quick fix for a cut & paste error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4117 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -681,17 +681,6 @@ void Layer::RebuildRegions(bool include_children)
|
|||||||
// 3) Clip each child to its siblings, going front to back
|
// 3) Clip each child to its siblings, going front to back
|
||||||
// 4) Remove the visible regions of the children from the current one
|
// 4) Remove the visible regions of the children from the current one
|
||||||
|
|
||||||
// Reset visible regions
|
|
||||||
if(_full)
|
|
||||||
_full->Include(Frame());
|
|
||||||
else
|
|
||||||
_full=new BRegion(Frame());
|
|
||||||
|
|
||||||
if(_visible)
|
|
||||||
_visible->Include(Frame());
|
|
||||||
else
|
|
||||||
_visible=new BRegion(Frame());
|
|
||||||
|
|
||||||
// Reset children to fully visible and clip to this layer's visible region
|
// Reset children to fully visible and clip to this layer's visible region
|
||||||
for(Layer *childlay=_topchild; childlay!=NULL; childlay=childlay->_lowersibling)
|
for(Layer *childlay=_topchild; childlay!=NULL; childlay=childlay->_lowersibling)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user