DacWizard/src/main/java/jme3utilities/minie/wizard/Model.java
/**
     * Remove any DynamicAnimControl from the C-G model.
     *
     * @return the pre-existing control that was removed, or null if none
     */
Remove any DynamicAnimControl from the C-G model.

@return the pre-existing control that was removed, or null if none
Remove any DynamicAnimControl from the C - G model . @return the pre - existing control that was removed or null if none
private DynamicAnimControl removeDac() {
        List<DynamicAnimControl> list = MySpatial.listControls(rootSpatial,
                DynamicAnimControl.class, null);
        DynamicAnimControl result = null;
        if (!list.isEmpty()) {
            assert list.size() == 1 : list.size();
            result = list.get(0);
            Spatial controlled = result.getSpatial();
            controlled.removeControl(result);
        }
        return result;
    }
private DynamicAnimControl removeDac ( ) { List < DynamicAnimControl > list = MySpatial . listControls ( rootSpatial , DynamicAnimControl . class , null ) ; DynamicAnimControl result = null ; if ( ! list . isEmpty ( ) ) { assert list . size ( ) == 1 : list . size ( ) ; result = list . get ( 0 ) ; Spatial controlled = result . getSpatial ( ) ; controlled . removeControl ( result ) ; } return result ; }
Remove any DynamicAnimControl from the C-G model.
Remove any DynamicAnimControl from the C - G model .