+ Fix crash when editing the linear pattern feature, suppress some warnings in release mode

This commit is contained in:
wmayer
2014-03-31 14:42:55 +02:00
parent fabe39b976
commit aaeba38e78
3 changed files with 26 additions and 8 deletions

View File

@@ -1386,7 +1386,9 @@ bool Document::_recomputeFeature(DocumentObject* Feat)
else {
returnCode->Which = Feat;
_RecomputeLog.push_back(returnCode);
#ifdef FC_DEBUG
Base::Console().Error("%s\n",returnCode->Why.c_str());
#endif
Feat->setError();
}
return false;