diff --git a/Source/Geometry/Mesh/imstkLineMesh.cpp b/Source/Geometry/Mesh/imstkLineMesh.cpp index b17a6ba2a007b4ad36e0e58228dc2e16249f0930..ffc2d2f64bd9d593a857aa4085cf11f7af7f7a33 100644 --- a/Source/Geometry/Mesh/imstkLineMesh.cpp +++ b/Source/Geometry/Mesh/imstkLineMesh.cpp @@ -39,6 +39,8 @@ LineMesh::initialize(const StdVectorOfVec3d& vertices, void LineMesh::clear() { + m_lines.clear(); + m_vertexColors.clear(); } void diff --git a/Source/Materials/imstkRenderMaterial.h b/Source/Materials/imstkRenderMaterial.h index 3bd60dba22293d8f60f4b910e9a052c2f6c7c355..0b9271236072821c412f2d372c13c6c54c3d7387 100644 --- a/Source/Materials/imstkRenderMaterial.h +++ b/Source/Materials/imstkRenderMaterial.h @@ -82,7 +82,8 @@ public: void backfaceCullingOff(); /// - /// \brief Get/Set the diffuse color + /// \brief Get/Set the color. This affects the diffuse color directly, but + /// it affects the specular color in the case of metals. /// const Color& getColor() const; void setColor(const Color color);