From b0348cbe9faad262c33c1cef2e27dccc675e7738 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 27 Jul 2017 18:20:21 +0300 Subject: [PATCH] Fixed issue #729. Moved Bezier curves can't be rotated. (grafted from f22c4df1ff3a5d20398f3d07ed02e0c2e1847a3b) --HG-- branch : develop --- ChangeLog.txt | 1 + .../vtools/tools/drawTools/operation/vabstractoperation.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index bd1ec02ed..db1fba590 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -41,6 +41,7 @@ - Fixed bug. Tape app saved default size value in wrong place. - [#737] Valentina produces corrupted file if unite two pieces with pins. - [#738] Bug in transformation over arc and elliptical arc. +- [#729] Moved Bezier curves can't be rotated. # Version 0.5.0 May 9, 2017 - [#581] User can now filter input lists by keyword in function wizard. diff --git a/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp b/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp index 4ca682509..7b103e632 100644 --- a/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp +++ b/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp @@ -278,24 +278,28 @@ void VAbstractOperation::AllowPointLabelSelecting(bool enabled) void VAbstractOperation::AllowSplineHover(bool enabled) { AllowCurveHover(enabled, GOType::Spline); + AllowCurveHover(enabled, GOType::CubicBezier); } //--------------------------------------------------------------------------------------------------------------------- void VAbstractOperation::AllowSplineSelecting(bool enabled) { AllowCurveSelecting(enabled, GOType::Spline); + AllowCurveSelecting(enabled, GOType::CubicBezier); } //--------------------------------------------------------------------------------------------------------------------- void VAbstractOperation::AllowSplinePathHover(bool enabled) { AllowCurveHover(enabled, GOType::SplinePath); + AllowCurveHover(enabled, GOType::CubicBezierPath); } //--------------------------------------------------------------------------------------------------------------------- void VAbstractOperation::AllowSplinePathSelecting(bool enabled) { AllowCurveSelecting(enabled, GOType::SplinePath); + AllowCurveSelecting(enabled, GOType::CubicBezierPath); } //---------------------------------------------------------------------------------------------------------------------