[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58844] trunk/blender/source/gameengine/ VideoTexture/Exception.cpp: BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor.

Mitchell Stokes mogurijin at gmail.com
Sat Aug 3 07:01:45 CEST 2013


Revision: 58844
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58844
Author:   moguri
Date:     2013-08-03 05:01:45 +0000 (Sat, 03 Aug 2013)
Log Message:
-----------
BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor.

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

Modified: trunk/blender/source/gameengine/VideoTexture/Exception.cpp
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/Exception.cpp	2013-08-03 05:01:40 UTC (rev 58843)
+++ trunk/blender/source/gameengine/VideoTexture/Exception.cpp	2013-08-03 05:01:45 UTC (rev 58844)
@@ -111,6 +111,8 @@
 	// set file and line
 	if (fil[0] != '\0' || lin > 0)
 		setFileLine (fil, lin);
+	else
+		m_line = -1;
 }
 
 




More information about the Bf-blender-cvs mailing list