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:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-11-01 15:48:46 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2008-11-01 15:48:46 +0300
commit54401d36aadabe38decd9cd64f1385e1757bd303 (patch)
treed11dee61cec1e4fd617e687f97244a17e55179b6 /source/gameengine/VideoTexture/Exception.cpp
parentb590b121d354ca1352191f56aa66d0c2ee494fb4 (diff)
BGE Video Texture: fix constant initializer problem with Exception description. Uniformized the line ending.
Diffstat (limited to 'source/gameengine/VideoTexture/Exception.cpp')
-rw-r--r--source/gameengine/VideoTexture/Exception.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/Exception.cpp b/source/gameengine/VideoTexture/Exception.cpp
index a326430b27a..c576cebddc8 100644
--- a/source/gameengine/VideoTexture/Exception.cpp
+++ b/source/gameengine/VideoTexture/Exception.cpp
@@ -44,7 +44,6 @@ ExpDesc errNFoundDesc (ErrNotFound, "Error description not found");
ExpDesc::ExpDesc (ExceptionID & exp, char * desc, RESULT hres)
: m_expID(exp), m_hRslt(hres), m_description(desc)
{
- m_expDescs.push_back(this);
}
// destructor
@@ -196,3 +195,15 @@ void Exception::copy (const Exception & xpt)
m_fileName = xpt.m_fileName;
m_line = xpt.m_line;
}
+
+void registerAllExceptions(void)
+{
+ errGenerDesc.registerDesc();
+ errNFoundDesc.registerDesc();
+ MaterialNotAvailDesc.registerDesc();
+ ImageSizesNotMatchDesc.registerDesc();
+ SceneInvalidDesc.registerDesc();
+ CameraInvalidDesc.registerDesc();
+ SourceVideoEmptyDesc.registerDesc();
+ SourceVideoCreationDesc.registerDesc();
+}