mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Fix issue with saving animations
Issue where saving new anims would include all anims in the file
This commit is contained in:
parent
83ab62fc4c
commit
7047d559ba
@ -1594,7 +1594,7 @@ const Animator = {
|
||||
buildFile(path_filter, name_filter) {
|
||||
var animations = {}
|
||||
Animator.animations.forEach(function(a) {
|
||||
if ((!path_filter || a.path == path_filter) && (!name_filter || !name_filter.length || name_filter.includes(a.name))) {
|
||||
if ((typeof path_filter != 'string' || a.path == path_filter) && (!name_filter || !name_filter.length || name_filter.includes(a.name))) {
|
||||
let ani_tag = a.compileBedrockAnimation();
|
||||
animations[a.name] = ani_tag;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user