|
@@ -276,7 +276,7 @@ class AnimPanel(AppShell):
|
|
|
title = 'Load Animation',
|
|
title = 'Load Animation',
|
|
|
parent = self.component('hull')
|
|
parent = self.component('hull')
|
|
|
)
|
|
)
|
|
|
- if not animFilename and animFilename != 'None':
|
|
|
|
|
|
|
+ if not animFilename or animFilename == 'None':
|
|
|
# no file selected, canceled
|
|
# no file selected, canceled
|
|
|
return
|
|
return
|
|
|
|
|
|