use of org.jwildfire.create.tina.animate.GlobalScriptType in project JWildfire by thargor6.
the class TinaSWFAnimatorController method getGlobalScriptFromUI.
private GlobalScript getGlobalScriptFromUI(JComboBox pCmb, JWFNumberField pField) {
GlobalScriptType scriptType = (GlobalScriptType) pCmb.getSelectedItem();
GlobalScript res = new GlobalScript(scriptType != null ? scriptType : GlobalScriptType.NONE, pField.getDoubleValue());
res.getAmplitudeCurve().assign(curves.get(pField.getMotionPropertyName()).getCurve());
return res;
}
Aggregations