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:45 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-08-03 09:01:45 +0400
commite4d396f30004bfd7f165427a344accf962fa9501 (patch)
treea2a5478129cdc9cffa2561352c376b13b17c2714 /source/gameengine/VideoTexture/Exception.cpp
parentad65bc331572ddcd4426693f0554c37b1a2b274c (diff)
BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor.
Diffstat (limited to 'source/gameengine/VideoTexture/Exception.cpp')
-rw-r--r--source/gameengine/VideoTexture/Exception.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/VideoTexture/Exception.cpp b/source/gameengine/VideoTexture/Exception.cpp
index 0f571550205..804834af4cd 100644
--- a/source/gameengine/VideoTexture/Exception.cpp
+++ b/source/gameengine/VideoTexture/Exception.cpp
@@ -111,6 +111,8 @@ Exception::Exception (ExceptionID & expID, RESULT rslt, const char *fil, int lin
// set file and line
if (fil[0] != '\0' || lin > 0)
setFileLine (fil, lin);
+ else
+ m_line = -1;
}