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
This commit is contained in:
parent
ecaa03492c
commit
0eeb23e248
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user