DacWizard/src/main/java/jme3utilities/minie/wizard/Model.java
/**
     * If the range-of-motion task is done, instantiate the DynamicAnimControl
     * and proceed to LinksScreen.
     */
If the range-of-motion task is done, instantiate the DynamicAnimControl
and proceed to LinksScreen.
If the range - of - motion task is done instantiate the DynamicAnimControl and proceed to LinksScreen .
void pollForTaskCompletion() {
        if (romTask == null || !romTask.isDone()) {
            return;
        }
        logger.log(Level.INFO, "The range-of-motion task is done.");
        RangeOfMotion[] roms;
        try {
            roms = romTask.get();
        } catch (ExecutionException | InterruptedException exception) {
            System.out.print(exception);
            return;
        }
        romCallable.cleanup();
        romTask = null;
        ragdoll = new DynamicAnimControl();
        float massParameter = 1f;
        LinkConfig linkConfig = new LinkConfig(massParameter,
                MassHeuristic.Density, ShapeHeuristic.VertexHull,
                new Vector3f(1f, 1f, 1f), CenterHeuristic.Mean);
        ragdoll.setConfig(DacConfiguration.torsoName, linkConfig);
        int numBones = countBones();
        for (int boneIndex = 0; boneIndex < numBones; ++boneIndex) {
            if (linkedBones.get(boneIndex)) {
                String boneName = boneName(boneIndex);
                ragdoll.link(boneName, linkConfig, roms[boneIndex]);
            }
        }
        selectLink(DacConfiguration.torsoName);
        InputMode links = InputMode.findMode("links");
        links.setEnabled(true);
    }
void pollForTaskCompletion ( ) { if ( romTask == null || ! romTask . isDone ( ) ) { return ; } logger . log ( Level . INFO , "The range-of-motion task is done." ) ; RangeOfMotion [ ] roms ; try { roms = romTask . get ( ) ; } catch ( ExecutionException | InterruptedException exception ) { System . out . print ( exception ) ; return ; } romCallable . cleanup ( ) ; romTask = null ; ragdoll = new DynamicAnimControl ( ) ; float massParameter = 1f ; LinkConfig linkConfig = new LinkConfig ( massParameter , MassHeuristic . Density , ShapeHeuristic . VertexHull , new Vector3f ( 1f , 1f , 1f ) , CenterHeuristic . Mean ) ; ragdoll . setConfig ( DacConfiguration . torsoName , linkConfig ) ; int numBones = countBones ( ) ; for ( int boneIndex = 0 ; boneIndex < numBones ; ++ boneIndex ) { if ( linkedBones . get ( boneIndex ) ) { String boneName = boneName ( boneIndex ) ; ragdoll . link ( boneName , linkConfig , roms [ boneIndex ] ) ; } } selectLink ( DacConfiguration . torsoName ) ; InputMode links = InputMode . findMode ( "links" ) ; links . setEnabled ( true ) ; }
If the range-of-motion task is done, instantiate the DynamicAnimControl
 and proceed to LinksScreen.
If the range - of - motion task is done instantiate the DynamicAnimControl and proceed to LinksScreen .