Change direction of sheet grainline to avoid user confusion.
This commit is contained in:
parent
34ed181558
commit
812414f0ea
|
@ -254,7 +254,7 @@ void VPPiece::RotateToGrainline(const VPTransformationOrigon &origin)
|
|||
return;
|
||||
}
|
||||
|
||||
QLineF fabricGrainline(grainline.p1().x(), grainline.p1().y(), grainline.p1().x() + 100, grainline.p1().y());
|
||||
QLineF fabricGrainline(grainline.p1().x(), grainline.p1().y(), grainline.p1().x() - 100, grainline.p1().y());
|
||||
if (sheet->GrainlineOrientation() == GrainlineType::Vertical)
|
||||
{
|
||||
fabricGrainline.setAngle(fabricGrainline.angle() - 90);
|
||||
|
|
Loading…
Reference in New Issue
Block a user