- fix add model to scenecomposer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10395 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 04998a07c0
commit 4a2db486b1
  1. 3
      sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneEditorController.java

@ -578,9 +578,10 @@ public class SceneEditorController implements PropertyChangeListener, NodeListen
selected.worldToLocal(location, localVec);
linkNode.setLocalTranslation(localVec);
}
addSpatialUndo(selected, linkNode, null, jmeRootNode);
}
file.closeAsset();
refreshSelected();
addSpatialUndo(selected, linkNode, null, jmeRootNode);
} catch (Exception ex) {
Confirmation msg = new NotifyDescriptor.Confirmation(
"Error importing " + file.getName() + "\n" + ex.toString(),

Loading…
Cancel
Save