projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b0316
)
MDLImporter: remove dead code.
author
Kim Kulling
<kim.kulling@googlemail.com>
Wed, 24 May 2017 19:18:51 +0000
(21:18 +0200)
committer
Kim Kulling
<kim.kulling@googlemail.com>
Wed, 24 May 2017 19:18:51 +0000
(21:18 +0200)
code/MDLMaterialLoader.cpp
patch
|
blob
|
history
diff --git
a/code/MDLMaterialLoader.cpp
b/code/MDLMaterialLoader.cpp
index
77ce3b3
..
91dcb49
100644
(file)
--- a/
code/MDLMaterialLoader.cpp
+++ b/
code/MDLMaterialLoader.cpp
@@
-546,10
+546,6
@@
void MDLImporter::ParseSkinLump_3DGS_MDL7(
}
else if (iMasked || !iType || (iType && iWidth && iHeight))
{
- // ***** STANDARD COLOR TEXTURE *****
- if(pcNew!= nullptr)
- delete pcNew;
-
pcNew = new aiTexture();
if (!iHeight || !iWidth)
{