diff --git a/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp b/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp
index ebf8cfff1911bad7dacae2174ae3e67b4bd36360..33548cefcd6d59a2d0138aba012e29a4f8d75c5d 100644
--- a/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp
+++ b/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp
@@ -936,6 +936,7 @@ namespace armarx
         SoShapeHints* hints = new SoShapeHints;
         hints->vertexOrdering = SoShapeHints::COUNTERCLOCKWISE;
         hints->shapeType = SoShapeHints::UNKNOWN_SHAPE_TYPE;
+        hints->faceType = SoShapeHints::UNKNOWN_FACE_TYPE;
         sep->addChild(hints);
 
         sep->addChild(VirtualRobot::CoinVisualizationFactory::CreatePolygonVisualization(d.points, d.colorInner, d.colorBorder, d.lineWidth));
@@ -2476,7 +2477,7 @@ namespace armarx
         }
         accumulatedUpdateData.arrows.clear();
 
-        for (auto & e : accumulatedUpdateData.triMeshes)
+        for (auto& e : accumulatedUpdateData.triMeshes)
         {
             drawTriMesh(e.second);
         }