For models with locked transforms (i.e., props), don't bother trying to

keep the world bound up-to-date; it won't change, and updateWorldVectors 
has no effect.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@56 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Andrzej Kapolka
2006-10-14 00:49:23 +00:00
parent 95500d74f3
commit 0dc6586e6a
@@ -843,6 +843,9 @@ public class Model extends ModelNode
// update controllers and children with accumulated time
_accum += time;
if (_outside) {
if ((lockedMode & LOCKED_TRANSFORMS) != 0) {
return; // world bound will not changed
}
if (!wasOutside) {
storeWorldBound();
}