SDK:
- don't try to import models to projects without ProjectAssetManager. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9813 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
8349783b6f
commit
5e4fc894e6
@ -72,6 +72,9 @@ public final class ImportModel implements ActionListener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (context.getLookup().lookup(ProjectAssetManager.class) == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
final WizardDescriptor wiz = new WizardDescriptor(getPanels());
|
final WizardDescriptor wiz = new WizardDescriptor(getPanels());
|
||||||
// {0} will be replaced by WizardDesriptor.Panel.getComponent().getName()
|
// {0} will be replaced by WizardDesriptor.Panel.getComponent().getName()
|
||||||
wiz.setTitleFormat(new MessageFormat("{0}"));
|
wiz.setTitleFormat(new MessageFormat("{0}"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user