quick change to events + workshop
This commit is contained in:
@@ -50,7 +50,13 @@ namespace anm2ed::imgui
|
|||||||
auto behavior = [&]()
|
auto behavior = [&]()
|
||||||
{
|
{
|
||||||
for (auto& id : unused)
|
for (auto& id : unused)
|
||||||
|
{
|
||||||
|
for (auto& animation : anm2.animations.items)
|
||||||
|
for (auto& trigger : animation.triggers.frames)
|
||||||
|
if (trigger.eventID == id) trigger.eventID = -1;
|
||||||
|
|
||||||
anm2.content.events.erase(id);
|
anm2.content.events.erase(id);
|
||||||
|
}
|
||||||
unused.clear();
|
unused.clear();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -51,6 +51,6 @@ Alternatively, if you have subscribed to the mod, you can find the latest releas
|
|||||||
[h3]Happy animating![/h3]
|
[h3]Happy animating![/h3]
|
||||||
[img]https://files.catbox.moe/4auc1c.gif[/img]
|
[img]https://files.catbox.moe/4auc1c.gif[/img]
|
||||||
</description>
|
</description>
|
||||||
<version>2.12</version>
|
<version>2.13</version>
|
||||||
<visibility>Public</visibility>
|
<visibility>Public</visibility>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
Reference in New Issue
Block a user