TechDraw: Enable setting a custom direction. Fixes #5821
This commit is contained in:
@@ -1289,6 +1289,11 @@ void DrawViewPart::spin(const std::string& spindirection)
|
||||
if (spindirection == "CCW")
|
||||
angle = -M_PI / 2.0;// Top -> Left -> Bottom -> Right -> Top
|
||||
|
||||
spin(angle);
|
||||
}
|
||||
|
||||
void DrawViewPart::spin(double angle)
|
||||
{
|
||||
Base::Vector3d org(0.0, 0.0, 0.0);
|
||||
Base::Vector3d curRot = getXDirection();
|
||||
Base::Vector3d curDir = Direction.getValue();
|
||||
|
||||
Reference in New Issue
Block a user