Removed throws from openctm.
This commit is contained in:
parent
e3b0a82f0d
commit
8b19870cf3
4
3rdparty/openctm/lib/openctmpp.h
vendored
4
3rdparty/openctm/lib/openctmpp.h
vendored
@ -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:
|
||||
|
2
3rdparty/openctm/tools/dae.cpp
vendored
2
3rdparty/openctm/tools/dae.cpp
vendored
@ -168,7 +168,7 @@ Source& GetSource(map<string, Source >& sources, map<string, vector<Input> >& ve
|
||||
|
||||
}
|
||||
} else {
|
||||
throw string("Error");
|
||||
abort(); //throw string("Error");
|
||||
}
|
||||
|
||||
return srcIterator->second;
|
||||
|
Loading…
Reference in New Issue
Block a user