Fix return type

This commit is contained in:
Kurt Kremitzki
2017-08-09 01:17:41 -05:00
committed by wmayer
parent 43f4b076b9
commit 91bc27b0dc

View File

@@ -37,6 +37,7 @@
#endif
#include <Base/Axis.h>
#include <Base/Console.h>
#include <Base/Exception.h>
#include <Base/Placement.h>
#include <Base/Tools.h>
@@ -186,7 +187,7 @@ bool Revolution::suggestReversed(void)
try {
updateAxis();
} catch (const Base::Exception& e) {
return new App::DocumentObjectExecReturn(e.what());
return false;
}
return ProfileBased::getReversedAngle(Base.getValue(), Axis.getValue()) < 0.0;