- use both blender versions in BlenderTool

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@11042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
nor..67 11 years ago
parent ed5f1d0dee
commit e645ff1c8d
  1. 3
      sdk/jme3-blender/src/com/jme3/gde/blender/BlenderTool.java

@ -251,6 +251,9 @@ public class BlenderTool {
private static File getBlenderSettingsFolder() { private static File getBlenderSettingsFolder() {
File blender = InstalledFileLocator.getDefault().locate(getBlenderOsPath() + "/2.69", null, false); File blender = InstalledFileLocator.getDefault().locate(getBlenderOsPath() + "/2.69", null, false);
if (blender == null) {
blender = InstalledFileLocator.getDefault().locate(getBlenderOsPath() + "/2.67", null, false);
}
if (blender == null) { if (blender == null) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message("Error finding Blender settings")); DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message("Error finding Blender settings"));
logger.log(Level.SEVERE, "Error finding Blender settings"); logger.log(Level.SEVERE, "Error finding Blender settings");

Loading…
Cancel
Save