From 8b19870cf3436ff519181c2c7f04dddcde3462a5 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sat, 1 Dec 2012 16:15:54 -0800 Subject: [PATCH] Removed throws from openctm. --- 3rdparty/openctm/lib/openctmpp.h | 4 ++-- 3rdparty/openctm/tools/dae.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdparty/openctm/lib/openctmpp.h b/3rdparty/openctm/lib/openctmpp.h index 1d54a243b..549e0296f 100644 --- a/3rdparty/openctm/lib/openctmpp.h +++ b/3rdparty/openctm/lib/openctmpp.h @@ -95,7 +95,7 @@ class CTMimporter { { CTMenum err = ctmGetError(mContext); if(err != CTM_NONE) - throw ctm_error(err); + abort(); //throw ctm_error(err); } public: @@ -251,7 +251,7 @@ class CTMexporter { { CTMenum err = ctmGetError(mContext); if(err != CTM_NONE) - throw ctm_error(err); + abort(); //throw ctm_error(err); } public: diff --git a/3rdparty/openctm/tools/dae.cpp b/3rdparty/openctm/tools/dae.cpp index 5d18c4732..8c68b48d1 100644 --- a/3rdparty/openctm/tools/dae.cpp +++ b/3rdparty/openctm/tools/dae.cpp @@ -168,7 +168,7 @@ Source& GetSource(map& sources, map >& ve } } else { - throw string("Error"); + abort(); //throw string("Error"); } return srcIterator->second;