diff --git a/rtgui/spot.cc b/rtgui/spot.cc index d9a6be6b7..35028415b 100644 --- a/rtgui/spot.cc +++ b/rtgui/spot.cc @@ -361,6 +361,7 @@ void Spot::createGeometry () EditSubscriber::visibleGeometry.at (j++) = &targetFeatherCircle; // VISIBLE_OBJECT_COUNT + 4 assert(j - visibleOffset == VISIBLE_TARGET_CIRCLE); EditSubscriber::visibleGeometry.at (j++) = &targetCircle; // VISIBLE_OBJECT_COUNT + 5 + static_cast(visibleOffset); } void Spot::updateGeometry()