From: mbs Date: Fri, 17 Nov 2023 13:00:32 +0000 (+0000) Subject: fixed V3d_UnMapped exception thrown during HDF tests X-Git-Tag: V9_12_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8523be37e0477e6768f387c9dae6c9d6b49b72fb;p=modules%2Fshaper.git fixed V3d_UnMapped exception thrown during HDF tests --- 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);