[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58845] trunk/blender/source/gameengine/ VideoTexture/BlendType.h: BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor.
Mitchell Stokes
mogurijin at gmail.com
Sat Aug 3 07:01:50 CEST 2013
Revision: 58845
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58845
Author: moguri
Date: 2013-08-03 05:01:50 +0000 (Sat, 03 Aug 2013)
Log Message:
-----------
BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor.
Modified Paths:
--------------
trunk/blender/source/gameengine/VideoTexture/BlendType.h
Modified: trunk/blender/source/gameengine/VideoTexture/BlendType.h
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/BlendType.h 2013-08-03 05:01:45 UTC (rev 58844)
+++ trunk/blender/source/gameengine/VideoTexture/BlendType.h 2013-08-03 05:01:50 UTC (rev 58845)
@@ -38,7 +38,7 @@
{
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)
More information about the Bf-blender-cvs
mailing list