Skip to content

not working for .gde files #29

@engimaxp

Description

@engimaxp

if file.find('.gd.') < 0 and file.find(".gd") > 0:

The first if statement is always true: file.find('.gd.') < 0

The second if statement is also match for both .gd file and .gdc file ,which makes it's quite confusion

and I guess its not working for gde file, I use a low version of anima , and it report cant find any animation

in replacement:

		for file in list:
			if file.ends_with('.gdc'):
				filtered.push_back(file.replace('.gdc', '.gd'))
			elif file.ends_with('.gde'):
				filtered.push_back(file.replace('.gde', '.gd'))
			elif file.ends_with('.gd'):
				filtered.push_back(file)
		_animations_list = filtered

BTW, Anima is a great plugin ! Thanks a lot !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions