[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29486] trunk/blender/source/gameengine/ VideoTexture/blendVideoTex.cpp: A bad assignment was causing the VideoTexture to set off a breakpoint when being initialized in debug mode .

Mitchell Stokes mogurijin at gmail.com
Wed Jun 16 10:36:19 CEST 2010


Revision: 29486
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29486
Author:   moguri
Date:     2010-06-16 10:36:18 +0200 (Wed, 16 Jun 2010)

Log Message:
-----------
A bad assignment was causing the VideoTexture to set off a breakpoint when being initialized in debug mode. (Benoit gave the go ahead for this fix)

Modified Paths:
--------------
    trunk/blender/source/gameengine/VideoTexture/blendVideoTex.cpp

Modified: trunk/blender/source/gameengine/VideoTexture/blendVideoTex.cpp
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/blendVideoTex.cpp	2010-06-16 08:29:40 UTC (rev 29485)
+++ trunk/blender/source/gameengine/VideoTexture/blendVideoTex.cpp	2010-06-16 08:36:18 UTC (rev 29486)
@@ -206,7 +206,7 @@
 	PyModule_AddObject(m, (char*)"Texture", (PyObject*)&TextureType);
 	
 	// init last error description
-	Exception::m_lastError[0] = '\0';
+	Exception::m_lastError = "";
 	
 	return m;
 }





More information about the Bf-blender-cvs mailing list