From 8b5c2ec792537269bcf6078f2d1535394ddce91f Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 30 Apr 2025 11:48:39 -0400 Subject: [PATCH] Fix missing warning for initially incorrect warps --- src/editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor.cpp b/src/editor.cpp index 0ebc2cb2..174d0b07 100644 --- a/src/editor.cpp +++ b/src/editor.cpp @@ -1753,6 +1753,7 @@ EventPixmapItem *Editor::addEventPixmapItem(Event *event) { connect(item, &EventPixmapItem::selected, this, &Editor::selectMapEvent); connect(item, &EventPixmapItem::posChanged, [this, event] { updateWarpEventWarning(event); }); connect(item, &EventPixmapItem::yChanged, [this, item] { updateEventPixmapItemZValue(item); }); + updateWarpEventWarning(event); redrawEventPixmapItem(item); this->events_group->addToGroup(item); return item;