SDK:
- fix add model to scenecomposer git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10395 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
04998a07c0
commit
4a2db486b1
@ -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…
x
Reference in New Issue
Block a user