- show warning when trying to open file with blender while its already running

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10294 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 4ce0185bc7
commit 469b7967b7
  1. 4
      sdk/jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java

@ -4,9 +4,9 @@
*/
package com.jme3.gde.blender;
import com.jme3.gde.core.scene.ApplicationLogHandler.LogLevel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.openide.awt.ActionID;
import org.openide.awt.ActionReference;
@ -37,7 +37,7 @@ public final class OpenInBlender implements ActionListener {
@Override
public void actionPerformed(ActionEvent ev) {
if (!BlenderTool.openInBlender(context.getPrimaryFile())) {
logger.log(Level.INFO, "Could not open file in blender, already running?");
logger.log(LogLevel.USERINFO, "Could not open file in blender, already running?");
}
}
}

Loading…
Cancel
Save