Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-08-03 09:01:50 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-08-03 09:01:50 +0400
commite8ca7abb9a45a5f9ab88865de0c2b87b9705eeb9 (patch)
tree086bb37b63dab6dd3dbb12862967fbfde02e687c /source/gameengine/VideoTexture/BlendType.h
parente4d396f30004bfd7f165427a344accf962fa9501 (diff)
BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor.
Diffstat (limited to 'source/gameengine/VideoTexture/BlendType.h')
-rw-r--r--source/gameengine/VideoTexture/BlendType.h2
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)