From 1c21a71fd43062bfad2273167caa4c898f4f19ad Mon Sep 17 00:00:00 2001 From: dmv Date: Wed, 11 Mar 2009 13:41:32 +0000 Subject: [PATCH] IPAL20920 Regressions of "Line Width" properties --- src/VISUGUI/VisuGUI.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index b8c6ffbc..51d3d14f 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -1211,11 +1211,12 @@ VisuGUI VISU_ActorBase* anActorBase = NULL; VISU::Prs3d_i* aPrs3d = NULL; SVTK_ViewWindow* aViewWindow = NULL; - float oldlwid; + float oldlwid = 1; bool isPrs3d = false; if (GetPrs3dSelectionInfo(this, aPrs3d, aViewWindow, anActor)) { isPrs3d = true; + oldlwid = anActor->GetLineWidth(); } else { aViewWindow = GetActiveViewWindow(this); -- 2.39.2