diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/textures/ImageLoader.java b/engine/src/blender/com/jme3/scene/plugins/blender/textures/ImageLoader.java index 4742fe225..8be0a954c 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/textures/ImageLoader.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/textures/ImageLoader.java @@ -101,21 +101,21 @@ import java.util.logging.Logger; try { result = this.load(inputStream, flipY); } catch (Exception e) { - logger.warning("Unable to load image using AWT loader!"); + LOGGER.warning("Unable to load image using AWT loader!"); } break; case DDS: try { result = ddsLoader.load(inputStream); } catch (Exception e) { - logger.warning("Unable to load image using DDS loader!"); + LOGGER.warning("Unable to load image using DDS loader!"); } break; case TGA: try { result = TGALoader.load(inputStream, flipY); } catch (Exception e) { - logger.warning("Unable to load image using TGA loader!"); + LOGGER.warning("Unable to load image using TGA loader!"); } break; default: diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java b/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java index 2a5473d71..693e95e2b 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java @@ -504,7 +504,7 @@ public class TextureHelper extends AbstractBlenderHelper { LOGGER.log(Level.FINE, "Reading texture from file: {0}", texturePath); result = this.loadImageFromFile(texturePath, blenderContext); } else { - logger.fine("Packed texture. Reading directly from the blend file!"); + LOGGER.fine("Packed texture. Reading directly from the blend file!"); Structure packedFile = pPackedFile.fetchData(blenderContext.getInputStream()).get(0); Pointer pData = (Pointer) packedFile.getFieldValue("data"); FileBlockHeader dataFileBlock = blenderContext.getFileBlock(pData.getOldMemoryAddress());