|
|
@ -111,7 +111,7 @@ public class SkeletonControl extends AbstractControl implements Cloneable, JmeCl |
|
|
|
* Material references used for hardware skinning |
|
|
|
* Material references used for hardware skinning |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private Set<Material> materials = new HashSet<Material>(); |
|
|
|
private Set<Material> materials = new HashSet<Material>(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Serialization only. Do not use. |
|
|
|
* Serialization only. Do not use. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -204,6 +204,9 @@ public class SkeletonControl extends AbstractControl implements Cloneable, JmeCl |
|
|
|
* @param skeleton the skeleton |
|
|
|
* @param skeleton the skeleton |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public SkeletonControl(Skeleton skeleton) { |
|
|
|
public SkeletonControl(Skeleton skeleton) { |
|
|
|
|
|
|
|
if (skeleton == null) { |
|
|
|
|
|
|
|
throw new IllegalArgumentException("skeleton cannot be null"); |
|
|
|
|
|
|
|
} |
|
|
|
this.skeleton = skeleton; |
|
|
|
this.skeleton = skeleton; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|