SDK:
- compare DataObjects for seeing if same file is opened again git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8631 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
dde203f347
commit
c350e33214
@ -400,7 +400,7 @@ public class SceneApplication extends Application implements LookupProvider {
|
||||
return;
|
||||
}
|
||||
notifyClose(oldRequest);
|
||||
if (newRequest == null || newRequest.getRootNode() != oldRequest.getRootNode()) {
|
||||
if (newRequest == null || newRequest.getDataObject() != oldRequest.getDataObject()) {
|
||||
checkSave(oldRequest);
|
||||
SceneUndoRedoManager manager = Lookup.getDefault().lookup(SceneUndoRedoManager.class);
|
||||
if (manager != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user