SkeletonControl : added a call to super.setSpatial in setSpatial
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7781 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
699e29efb4
commit
e42ab8f0c1
@ -128,6 +128,7 @@ public class SkeletonControl extends AbstractControl implements Cloneable {
|
||||
|
||||
@Override
|
||||
public void setSpatial(Spatial spatial){
|
||||
super.setSpatial(spatial);
|
||||
if (spatial != null){
|
||||
Node node = (Node) spatial;
|
||||
targets = findTargets(node);
|
||||
|
Loading…
x
Reference in New Issue
Block a user