SkeletonControl : added a call to super.setSpatial in setSpatial

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7781 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 14 years ago
parent 699e29efb4
commit e42ab8f0c1
  1. 1
      engine/src/core/com/jme3/animation/SkeletonControl.java

@ -128,6 +128,7 @@ public class SkeletonControl extends AbstractControl implements Cloneable {
@Override @Override
public void setSpatial(Spatial spatial){ public void setSpatial(Spatial spatial){
super.setSpatial(spatial);
if (spatial != null){ if (spatial != null){
Node node = (Node) spatial; Node node = (Node) spatial;
targets = findTargets(node); targets = findTargets(node);

Loading…
Cancel
Save