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

@@ -22,10 +22,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Inventor/nodes/SoShapeHints.h>
#endif
#include <App/GroupExtension.h>
#include <Gui/Application.h>
#include <Gui/Selection.h>
@@ -44,10 +40,6 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemPostPipeline, FemGui::ViewProviderFemPost
ViewProviderFemPostPipeline::ViewProviderFemPostPipeline()
{
sPixmap = "FEM_PostPipelineFromResult";
// Fixes rendering issue with the annotation node
m_shapeHints->vertexOrdering = SoShapeHints::CLOCKWISE;
m_shapeHints->shapeType = SoShapeHints::SOLID;
}
ViewProviderFemPostPipeline::~ViewProviderFemPostPipeline()