From cd89b19af5d4093bf9afddd2aaf919d0d2180484 Mon Sep 17 00:00:00 2001 From: mbs Date: Fri, 17 Nov 2023 13:00:32 +0000 Subject: [PATCH] fixed V3d_UnMapped exception thrown during HDF tests --- src/PartSet/PartSet_Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index 405bd8c74..f644b6a54 100644 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -1171,13 +1171,13 @@ void PartSet_Module::onViewTransformed(int theTrsfType) return; bool isModified = false; - double aLen = aView->Convert(SketcherPrs_Tools::getConfigArrowSize()); ModuleBase_Operation* aCurrentOperation = myWorkshop->currentOperation(); if (aCurrentOperation && (PartSet_SketcherMgr::isSketchOperation(aCurrentOperation) || sketchMgr()->isNestedSketchOperation(aCurrentOperation) || (aCurrentOperation->id() == "Measurement"))) { + double aLen = aView->Convert(SketcherPrs_Tools::getConfigArrowSize()); SketcherPrs_Tools::setArrowSize(aLen); const double aCurScale = aViewer->activeView()->Camera()->Scale(); aViewer->SetScale(aViewer->activeView(), aCurScale); -- 2.30.2