diff --git a/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderTool.java b/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderTool.java index 44dca5741..49028a9ef 100644 --- a/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderTool.java +++ b/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderTool.java @@ -270,6 +270,7 @@ public class BlenderTool { public static boolean runConversionScript(String type, FileObject input) { if (!checkBlenderFolders()) { logger.log(Level.SEVERE, "Could not create blender settings folders!"); + return false; } final File exe = getBlenderExecutable(); if (exe == null) { @@ -316,6 +317,7 @@ public class BlenderTool { public static boolean runToolScript(String toolName, FileObject input) { if (!checkBlenderFolders()) { logger.log(Level.SEVERE, "Could not create blender settings folders!"); + return false; } final File exe = getBlenderExecutable(); if (exe == null) { @@ -359,10 +361,11 @@ public class BlenderTool { private static boolean runBlender(final String file, boolean async) { if (!checkBlenderFolders()) { logger.log(Level.SEVERE, "Could not create blender settings folders!"); + return false; } logger.log(Level.INFO, "Running blender with options {0}", file); if (blenderOpened.getAndSet(true)) { - logger.log(Level.INFO, "Blender seems to be running"); + logger.log(Level.WARNING, "Blender seems to be running already."); return false; } final AtomicBoolean successful = new AtomicBoolean(true); diff --git a/sdk/jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java b/sdk/jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java index fbb45c66b..6bb7d66cd 100644 --- a/sdk/jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java +++ b/sdk/jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java @@ -37,7 +37,7 @@ public final class OpenInBlender implements ActionListener { @Override public void actionPerformed(ActionEvent ev) { if (!BlenderTool.openInBlender(context.getPrimaryFile())) { - logger.log(LogLevel.WARNING, "Could not open file in blender, already running?"); + logger.log(LogLevel.INFO, "Could not open file in blender."); } } }