BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor.
This commit is contained in:
parent
e4d396f300
commit
e8ca7abb9a
@ -38,7 +38,7 @@ template <class PyObj> 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)
|
||||
|
Loading…
Reference in New Issue
Block a user