canvas::Element: Fix bounding box calculation of groups
This commit is contained in:
parent
a004153223
commit
c2f89978ff
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user