Revision: 15985
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15985
Author:   ben2610
Date:     2008-08-06 12:23:47 +0200 (Wed, 06 Aug 2008)

Log Message:
-----------
BGE fix: confirm fix for segmentation fault by Diego and remove warning in 
calling ConvertMaterial Ipos.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp

Modified: trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp 2008-08-06 
04:09:10 UTC (rev 15984)
+++ trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp 2008-08-06 
10:23:47 UTC (rev 15985)
@@ -766,7 +766,7 @@
                // 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
        {


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to