canvas::Element: Fix bounding box calculation of groups

This commit is contained in:
Thomas Geymayer
2013-07-18 14:16:13 +02:00
parent a004153223
commit c2f89978ff
+1 -1
View File
@@ -488,7 +488,7 @@ namespace canvas
osg::BoundingBox transformed;
const osg::BoundingBox& bb = _drawable->getBound();
for(int i = 0; i < 4; ++i)
transformed.expandBy( m * bb.corner(i) );
transformed.expandBy( bb.corner(i) * m );
return transformed;
}