diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-03 09:01:50 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-03 09:01:50 +0400 |
commit | e8ca7abb9a45a5f9ab88865de0c2b87b9705eeb9 (patch) | |
tree | 086bb37b63dab6dd3dbb12862967fbfde02e687c /source/gameengine/VideoTexture | |
parent | e4d396f30004bfd7f165427a344accf962fa9501 (diff) |
BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor.
Diffstat (limited to 'source/gameengine/VideoTexture')
-rw-r--r-- | source/gameengine/VideoTexture/BlendType.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 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) |