diff --git a/jme3-core/src/main/java/com/jme3/anim/AnimComposer.java b/jme3-core/src/main/java/com/jme3/anim/AnimComposer.java index b8ac76668..740c4e034 100644 --- a/jme3-core/src/main/java/com/jme3/anim/AnimComposer.java +++ b/jme3-core/src/main/java/com/jme3/anim/AnimComposer.java @@ -32,6 +32,10 @@ public class AnimComposer extends AbstractControl { layers.put(DEFAULT_LAYER, new Layer(this)); } + public boolean hasAnimClip(String name) { + return animClipMap.containsKey(name); + } + /** * Retrieve an animation from the list of animations. *