loopier / animatron

Animatron for Godot 4.x <
15 stars 1 forks source link

`/loop` and `/noloop` crash when using wildcards #34

Open loopier opened 4 months ago

loopier commented 4 months ago
/create xa bla
/create xe bla
/noloop x*

This crashes the app. I suspect it's because the arguments are not correctly parsed with the wildcard, as the interrupt happens in this line: it tries to convert to bool but the arg[1] is actually the animation name (String).

Not sure if it's related to this, but /play * also crashes the app, while /play tut* doesn't.

loopier commented 2 months ago

I think this has to do with animations being independent entities from actors. Wildcards are for actors, not for animations.