diff --git a/flare_flutter/lib/flare_actor.dart b/flare_flutter/lib/flare_actor.dart index a7bc0d2..236b36c 100644 --- a/flare_flutter/lib/flare_actor.dart +++ b/flare_flutter/lib/flare_actor.dart @@ -204,7 +204,8 @@ class FlareActorRenderObject extends FlareRenderBox { if (_filename == null) { markNeedsPaint(); } - + // file will change, let's clear out old animations. + _animationLayers.clear(); load(); }