From 8411ff22e27dba8bbd51b72e4c37a4e1d5b0c883 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Sat, 3 Sep 2011 23:04:55 +0000 Subject: [PATCH] * Fix incorrect warning message in OBJLoader git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java index b6b66d08b..e03c4b2c7 100644 --- a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java +++ b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java @@ -408,7 +408,7 @@ public final class OBJLoader implements AssetLoader { geom.setQueueBucket(Bucket.Opaque); if (material.getMaterialDef().getName().contains("Lighting") - || mesh.getFloatBuffer(Type.Normal) == null){ + && mesh.getFloatBuffer(Type.Normal) == null){ logger.log(Level.WARNING, "OBJ mesh {0} doesn't contain normals! " + "It might not display correctly", geom.getName()); }