0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type...
[occt.git] / src / BRepOffset / BRepOffset_Offset.cxx
index f93e726..29fb26e 100644 (file)
@@ -1405,6 +1405,7 @@ void BRepOffset_Offset::Init(const TopoDS_Vertex&        Vertex,
     for (it.Initialize(LEdge); it.More(); it.Next()) {
       sprintf(name,"EOnSph_%d_%d",NbOFFSET,NbEdges++);
 #ifdef DRAW
+      const TopoDS_Shape& CurE = it.Value();
       DBRep::Set(name, CurE);
 #endif
     }