[TD] fix compiler about a variable redefinition

This commit is contained in:
Uwe
2023-02-26 05:01:43 +01:00
committed by wwmayer
parent 05837719f6
commit b846722f3a

View File

@@ -1281,13 +1281,12 @@ bool DrawViewPart::checkXDirection() const
if (DrawUtil::fpCompare(xDir.Length(), 0.0)) {
Base::Vector3d dir = Direction.getValue();
Base::Vector3d origin(0.0, 0.0, 0.0);
Base::Vector3d xDir = getLegacyX(origin, dir);
xDir = getLegacyX(origin, dir);
return false;
}
return true;
}
//
Base::Vector3d DrawViewPart::getXDirection() const
{
// Base::Console().Message("DVP::getXDirection() - %s\n", Label.getValue());