diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-06 14:23:47 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-06 14:23:47 +0400 |
commit | 8102217b9cc1d35b082cd2deed803ed699653908 (patch) | |
tree | 651af15ae1d0299b9584ca5d73b1293bdac122f6 /source/gameengine/Converter | |
parent | 553e35e36f53c881712e86c6c98f49f9e0291f04 (diff) |
BGE fix: confirm fix for segmentation fault by Diego and remove warning in calling ConvertMaterial Ipos.
Diffstat (limited to 'source/gameengine/Converter')
-rw-r--r-- | source/gameengine/Converter/KX_IpoConvert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Converter/KX_IpoConvert.cpp b/source/gameengine/Converter/KX_IpoConvert.cpp index 61b095d93b1..ce004fa0504 100644 --- a/source/gameengine/Converter/KX_IpoConvert.cpp +++ b/source/gameengine/Converter/KX_IpoConvert.cpp @@ -766,7 +766,7 @@ void BL_ConvertMaterialIpos( // if there is only one material attached to the mesh then set material_index in BL_ConvertMaterialIpos to NULL // --> this makes the UpdateMaterialData function in KX_GameObject.cpp use the old hack of using SetObjectColor // because this yields a better performance as not all the vertex colors need to be edited - if(mat) ConvertMaterialIpos(mat, NULL, gameobj, converter); + if(mat) ConvertMaterialIpos(mat, 0, gameobj, converter); } else { |