Gui: Fix render order of datum planes

This commit is contained in:
Kacper Donat
2025-01-06 01:14:54 +01:00
committed by Chris Hennes
parent ee50153d6e
commit c95c4e8fe4
5 changed files with 100 additions and 14 deletions

View File

@@ -41,6 +41,8 @@
#include "SoFCSelection.h"
#include "ViewProviderCoordinateSystem.h"
#include <Inventor/So3DAnnotation.h>
using namespace Gui;
@@ -111,7 +113,7 @@ void ViewProviderDatum::attach(App::DocumentObject* pcObject)
visible->addChild(pRoot);
// Hidden features
auto hidden = new SoAnnotation();
auto hidden = new So3DAnnotation();
// Style for hidden lines
style = new SoDrawStyle();