Specify the default repeat type as a parameter; model animations should
not loop by default. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@138 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -55,7 +55,8 @@ public class TextureAnimator extends TextureController
|
||||
_frameHeight = Float.valueOf(props.getProperty("frame_height", "0.5"));
|
||||
_frameCount = Integer.valueOf(props.getProperty("frame_count", "4"));
|
||||
_frameRate = Float.valueOf(props.getProperty("frame_rate", "1"));
|
||||
_repeatType = JmeUtil.parseRepeatType(props.getProperty("repeat_type"));
|
||||
_repeatType = JmeUtil.parseRepeatType(props.getProperty("repeat_type"),
|
||||
Controller.RT_WRAP);
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
|
||||
Reference in New Issue
Block a user