Update bounding box if calling update() on canvas elements

This commit is contained in:
Thomas Geymayer
2013-02-24 20:44:02 +01:00
parent 5441db9b18
commit 328e6b3e28

View File

@@ -130,6 +130,10 @@ namespace canvas
_transform->setMatrix(m);
_transform_dirty = false;
}
// Update bounding box on manual update (manual updates pass zero dt)
if( dt == 0 && _drawable )
_drawable->getBound();
}
//----------------------------------------------------------------------------