aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-extras
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2013-04-20 14:26:11 +0200
committerJulien Gouesse <[email protected]>2013-04-20 14:26:11 +0200
commit8a69fdc237e535317654afbf5cc6dc2bda8e4bf8 (patch)
tree926b82a3d00fb4b0cf5f7e8370179f239f4a53d1 /ardor3d-extras
parentfabebdce38dcec0ad78d3cba11e2a72bbc1d6558 (diff)
Allows to override the update of the bounding volume in the key frame controller
Diffstat (limited to 'ardor3d-extras')
-rw-r--r--ardor3d-extras/src/main/java/com/ardor3d/extension/model/util/KeyframeController.java9
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.
*