0024406: Visualization - crash on re-usage of the same primitive array
[occt.git] / src / Graphic3d / Graphic3d_ArrayOfPolylines.cxx
index 6d3ffc3..23fea53 100644 (file)
 
 #include <Graphic3d_ArrayOfPolylines.ixx>
 
-Graphic3d_ArrayOfPolylines :: Graphic3d_ArrayOfPolylines (
-                        const Standard_Integer maxVertexs,
-                        const Standard_Integer maxBounds,
-                        const Standard_Integer maxEdges,
-                        const Standard_Boolean hasVColors,
-                        const Standard_Boolean hasFColors,
-                       const Standard_Boolean hasEdgeInfos)
-       : Graphic3d_ArrayOfPrimitives(Graphic3d_TOPA_POLYLINES,maxVertexs,maxBounds,maxEdges,Standard_False,hasVColors,hasFColors,Standard_False,hasEdgeInfos) {}
+Graphic3d_ArrayOfPolylines::Graphic3d_ArrayOfPolylines (const Standard_Integer theMaxVertexs,
+                                                        const Standard_Integer theMaxBounds,
+                                                        const Standard_Integer theMaxEdges,
+                                                        const Standard_Boolean theHasVColors,
+                                                        const Standard_Boolean theHasFColors)
+: Graphic3d_ArrayOfPrimitives (Graphic3d_TOPA_POLYLINES, theMaxVertexs, theMaxBounds, theMaxEdges, Standard_False, theHasVColors, theHasFColors, Standard_False)
+{}