From 0eeb23e248f1b852176d7a61999cf865f09d52f1 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Tue, 16 Aug 2011 14:47:06 +0000 Subject: [PATCH] SDK : - Changed the to check if a file is a dds file git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/gde/materials/multiview/widgets/TexturePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java index e0f5fc06d..9066cf5cf 100644 --- a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java +++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java @@ -46,7 +46,7 @@ public class TexturePanel extends MaterialPropertyWidget { if (!"".equals(textureName)) { Texture tex = manager.loadTexture(textureName); Icon newicon = null; - if (textureName.endsWith(".dds") || textureName.endsWith(".DDS")) { + if (textureName.toLowerCase().endsWith(".dds")) { if (ddsPreview == null) { ddsPreview = new DDSPreview(manager); }