Fem: [skip ci] replace the SoAnnotation with an SoSeparator to fix rendering artifacts for non-convex objects

This commit is contained in:
wmayer
2022-08-02 19:09:05 +02:00
parent 38b34fb26a
commit ede18d20b9
3 changed files with 3 additions and 13 deletions

View File

@@ -28,7 +28,7 @@
# include <QMenu>
# include <QMessageBox>
# include <QTextStream>
# include <Inventor/nodes/SoAnnotation.h>
# include <Inventor/nodes/SoSeparator.h>
#endif
#include <App/MaterialObject.h>
@@ -58,7 +58,7 @@ using namespace FemGui;
ViewProviderFemHighlighter::ViewProviderFemHighlighter()
{
annotate = new SoAnnotation();
annotate = new SoSeparator();
annotate->ref();
}