Fix to setting the normal texture if vertex coloring is enabled.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
2073f58cf8
commit
5dc1a29f6e
engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -217,7 +217,7 @@ public class TextureHelper extends AbstractBlenderHelper {
|
||||
throw new BlenderFileException("Unknown texture type: " + type + " for texture: " + tex.getName());
|
||||
}
|
||||
if (result != null) {
|
||||
result.setName(String.valueOf(type));
|
||||
result.setName(tex.getName());
|
||||
result.setWrap(WrapMode.Repeat);
|
||||
}
|
||||
return result;
|
||||
@ -1579,7 +1579,6 @@ public class TextureHelper extends AbstractBlenderHelper {
|
||||
}
|
||||
}
|
||||
if (result != null) {
|
||||
result.setName(String.valueOf(8));// 8 = TEX_IMAGE
|
||||
result.setWrap(Texture.WrapMode.Repeat);
|
||||
dataRepository.addLoadedFeatures(image.getOldMemoryAddress(), image.getName(), image, result);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user