From f3f9f0a665a02c7ef77f43415d13569d70af74d6 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 25 Sep 2017 11:56:43 +0300 Subject: [PATCH] Issue #2205 Ability to customize the arrows and texts of dimensions (partially) --- src/SketcherPrs/SketcherPrs_LengthDimension.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SketcherPrs/SketcherPrs_LengthDimension.cpp b/src/SketcherPrs/SketcherPrs_LengthDimension.cpp index 3aeebbc2b..2b55584a0 100644 --- a/src/SketcherPrs/SketcherPrs_LengthDimension.cpp +++ b/src/SketcherPrs/SketcherPrs_LengthDimension.cpp @@ -84,8 +84,8 @@ void updateArrows(Handle(Prs3d_DimensionAspect) theDimAspect, } else if (theLocationType == SketcherPrs_Tools::LOCATION_RIGHT || theLocationType == SketcherPrs_Tools::LOCATION_LEFT) { - theDimAspect->SetTextHorizontalPosition(Prs3d_DTHP_Left); - //theDimAspect->SetTextHorizontalPosition(Prs3d_DTHP_Right); + theDimAspect->SetTextHorizontalPosition( + theLocationType == SketcherPrs_Tools::LOCATION_LEFT ? Prs3d_DTHP_Left : Prs3d_DTHP_Right); theDimAspect->SetArrowOrientation(Prs3d_DAO_External); } -- 2.39.2