Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-08-06 14:23:47 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-08-06 14:23:47 +0400
commit8102217b9cc1d35b082cd2deed803ed699653908 (patch)
tree651af15ae1d0299b9584ca5d73b1293bdac122f6 /source/gameengine/Converter/KX_IpoConvert.cpp
parent553e35e36f53c881712e86c6c98f49f9e0291f04 (diff)
BGE fix: confirm fix for segmentation fault by Diego and remove warning in calling ConvertMaterial Ipos.
Diffstat (limited to 'source/gameengine/Converter/KX_IpoConvert.cpp')
-rw-r--r--source/gameengine/Converter/KX_IpoConvert.cpp2
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
{