diff options
-rw-r--r-- | ardor3d-extras/src/main/java/com/ardor3d/extension/model/util/KeyframeController.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ardor3d-extras/src/main/java/com/ardor3d/extension/model/util/KeyframeController.java b/ardor3d-extras/src/main/java/com/ardor3d/extension/model/util/KeyframeController.java index 596dead..1df05a6 100644 --- a/ardor3d-extras/src/main/java/com/ardor3d/extension/model/util/KeyframeController.java +++ b/ardor3d-extras/src/main/java/com/ardor3d/extension/model/util/KeyframeController.java @@ -533,11 +533,18 @@ public class KeyframeController<T extends Spatial> extends ComplexSpatialControl } if (_updateBounding) { - _morphMesh.updateModelBound(); + updateBounding(); } } /** + * Updates the bounding volume of the morph mesh + */ + protected void updateBounding() { + _morphMesh.updateModelBound(); + } + + /** * If both min and max time are equal and the model is already updated, then it's an easy quit, or if it's on CLAMP * and I've exceeded my time it's also an easy quit. * |