diff --git a/src/java/com/threerings/jme/model/Model.java b/src/java/com/threerings/jme/model/Model.java index 052f7935a..d4bf1b904 100644 --- a/src/java/com/threerings/jme/model/Model.java +++ b/src/java/com/threerings/jme/model/Model.java @@ -769,6 +769,21 @@ public class Model extends ModelNode } } + @Override // documentation inherited + public void updateModelBound () + { + if (worldBound == null) { + return; + } + setTransform(getWorldTranslation(), getWorldRotation(), + getWorldScale(), _xform); + _xform.invertLocal(); + _xform.toTranslationVector(_trans); + extractScale(_xform, _scale); + _xform.toRotationQuat(_rot); + _modelBound = worldBound.transform(_rot, _trans, _scale, _modelBound); + } + /** * Determines whether this node was determined to be entirely outside the * view frustum. @@ -881,23 +896,6 @@ public class Model extends ModelNode } } - /** - * Sets the model bound based on the current world bound. - */ - protected void updateModelBound () - { - if (worldBound == null) { - return; - } - setTransform(getWorldTranslation(), getWorldRotation(), - getWorldScale(), _xform); - _xform.invertLocal(); - _xform.toTranslationVector(_trans); - extractScale(_xform, _scale); - _xform.toRotationQuat(_rot); - _modelBound = worldBound.transform(_rot, _trans, _scale, _modelBound); - } - /** * Extracts the scale factor from the given transform and normalizes it. */