diff --git a/src/SFML/Graphics/ConvexShape.cpp b/src/SFML/Graphics/ConvexShape.cpp index 222d5367..44693c24 100644 --- a/src/SFML/Graphics/ConvexShape.cpp +++ b/src/SFML/Graphics/ConvexShape.cpp @@ -45,6 +45,7 @@ ConvexShape::ConvexShape() void ConvexShape::SetPointsCount(unsigned int count) { myPoints.resize(count); + Update(); } @@ -59,6 +60,7 @@ unsigned int ConvexShape::GetPointsCount() const void ConvexShape::SetPoint(unsigned int index, const Vector2f& point) { myPoints[index] = point; + Update(); }