fixes for bugs submitted by BGE users, fixes by myself and Mitchell Stokes
- when the attribute check function failed it didnt set an error raising a SystemError instead - Rasterizer.getMaterialMode would never return KX_BLENDER_MULTITEX_MATERIAL - PropertySensor value attribute checking function was always returning a fail. - Vertex Self Shadow python script didnt update for meshes with modifiers.
This commit is contained in:
@@ -1004,7 +1004,7 @@ static PyObject* gPyGetMaterialType(PyObject*)
|
||||
{
|
||||
int flag;
|
||||
|
||||
if(G.fileflags & (G_FILE_GAME_MAT|G_FILE_GAME_MAT_GLSL))
|
||||
if(G.fileflags & G_FILE_GAME_MAT_GLSL)
|
||||
flag = KX_BLENDER_GLSL_MATERIAL;
|
||||
else if(G.fileflags & G_FILE_GAME_MAT)
|
||||
flag = KX_BLENDER_MULTITEX_MATERIAL;
|
||||
|
||||
Reference in New Issue
Block a user