From 469b7967b79404561a7807408e4d96b11354116a Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Fri, 1 Feb 2013 14:47:37 +0000 Subject: [PATCH] SDK - 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 --- sdk/jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c7a54f0ec..57cca33d7 100644 --- a/sdk/jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java +++ b/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?"); } } }