From fa3ee342804f3658088b121b10a0ae0b981c49fa Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 1 Apr 2023 14:52:09 +0200 Subject: [PATCH] Gui: use an annotation node so that line is always rendered on top of the scene --- src/Gui/TaskView/TaskImageScale.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/TaskView/TaskImageScale.cpp b/src/Gui/TaskView/TaskImageScale.cpp index f485a63a2f89..a09e3c7573a4 100644 --- a/src/Gui/TaskView/TaskImageScale.cpp +++ b/src/Gui/TaskView/TaskImageScale.cpp @@ -32,7 +32,7 @@ # include # include # include -# include +# include #endif #include @@ -222,7 +222,7 @@ InteractiveScale::InteractiveScale(View3DInventorViewer* view, ViewProvider* vp) { coords = new SoCoordinate3; coords->ref(); - root = new SoSeparator; + root = new SoAnnotation; root->ref(); root->addChild(coords);