diff --git a/source/gameengine/VideoTexture/BlendType.h b/source/gameengine/VideoTexture/BlendType.h index 28eebe07789..561c6e8768f 100644 --- a/source/gameengine/VideoTexture/BlendType.h +++ b/source/gameengine/VideoTexture/BlendType.h @@ -38,7 +38,7 @@ template class BlendType { public: /// constructor - BlendType (const char * name) : m_name(name) {} + BlendType (const char * name) : m_name(name), m_objType(NULL) {} /// check blender type and return pointer to contained object or NULL (if type is not valid) PyObj *checkType(PyObject *obj)