use of org.jwildfire.create.tina.render.dof.DOFBlurShapeType in project JWildfire by thargor6.
the class FlameControlsDelegate method dofDOFShapeCmb_changed.
public void dofDOFShapeCmb_changed() {
if (!isNoRefresh()) {
Flame flame = getCurrFlame();
if (flame != null) {
owner.saveUndoPoint();
DOFBlurShapeType shape = (DOFBlurShapeType) data.dofDOFShapeCmb.getSelectedItem();
flame.setCamDOFShape(shape);
shape.getDOFBlurShape().setDefaultParams(getCurrFlame());
setupDOFParamsControls(getCurrFlame().getCamDOFShape());
refreshBokehParams();
owner.refreshFlameImage(true, false, 1, true, false);
}
}
}
Aggregations