diff --git a/src/graphics/stkanimatedmesh.cpp b/src/graphics/stkanimatedmesh.cpp index 2f74fc861..25b782a12 100644 --- a/src/graphics/stkanimatedmesh.cpp +++ b/src/graphics/stkanimatedmesh.cpp @@ -107,6 +107,8 @@ isObjectPass(video::E_MATERIAL_TYPE type) return true; if (type == video::EMT_ONETEXTURE_BLEND) return true; + if (type == video::EMT_ONETEXTURE_BLEND) + return true; return false; } diff --git a/src/graphics/stkmesh.cpp b/src/graphics/stkmesh.cpp index 52347cfef..5f394004d 100644 --- a/src/graphics/stkmesh.cpp +++ b/src/graphics/stkmesh.cpp @@ -793,6 +793,8 @@ static bool isObject(video::E_MATERIAL_TYPE type) return true; if (type == video::EMT_ONETEXTURE_BLEND) return true; + if (type == video::EMT_TRANSPARENT_ADD_COLOR) + return true; return false; }