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;