Pārlūkot izejas kodu

SingleLayerInfluenceMask: deprecate class due to serialization issues

capdevon 7 mēneši atpakaļ
vecāks
revīzija
5953a325a5

+ 6 - 2
jme3-core/src/main/java/com/jme3/anim/SingleLayerInfluenceMask.java

@@ -34,11 +34,15 @@ package com.jme3.anim;
 import com.jme3.scene.Spatial;
 
 /**
- * Mask that excludes joints from participating in the layer
- * if a higher layer is using those joints in an animation.
+ * Mask that excludes joints from participating in the layer if a higher layer
+ * is using those joints in an animation.
+ * 
+ * @deprecated This class is deprecated because it cannot serialize its
+ *             variables as required by its superclass.
  * 
  * @author codex
  */
+@Deprecated
 public class SingleLayerInfluenceMask extends ArmatureMask {
     
     private final String layer;