remove gp_* conversion code from TechDraw workbench
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <App/Document.h>
|
||||
#include <App/Link.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Converter.h>
|
||||
#include <Gui/BitmapFactory.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Control.h>
|
||||
@@ -501,8 +502,8 @@ bool TaskComplexSection::apply(bool forceUpdate)
|
||||
}
|
||||
else {
|
||||
gp_Pnt stdOrigin(0.0, 0.0, 0.0);
|
||||
gp_Ax2 sectionCS(stdOrigin, DrawUtil::to<gp_Dir>(m_saveNormal),
|
||||
DrawUtil::to<gp_Dir>(m_saveXDir));
|
||||
gp_Ax2 sectionCS(stdOrigin, Base::convertTo<gp_Dir>(m_saveNormal),
|
||||
Base::convertTo<gp_Dir>(m_saveXDir));
|
||||
if (!DrawComplexSection::canBuild(sectionCS, m_profileObject)) {
|
||||
Base::Console().Error(
|
||||
"Can not build Complex Section with this profile and direction (2)\n");
|
||||
|
||||
Reference in New Issue
Block a user