Import Images: fix crash in Animate Sequence when no image selected
commitd0d81fdd4bd591746b4e6218e744f45a5c5a95f9
authorDamien Picard <dam.pic@free.fr>
Tue, 3 Oct 2023 14:23:00 +0000 (3 16:23 +0200)
committerDamien Picard <dam.pic@free.fr>
Sun, 8 Oct 2023 19:35:44 +0000 (8 21:35 +0200)
treead9f5b342ec9c752fe9b07f7710e364f85042afc
parent40016c3cad2f1146b8c2f46a19634ed21407ee22
Import Images: fix crash in Animate Sequence when no image selected

When using Animate Image Sequences and no image was selected, the
operator would raise an exception because it tried to load a file with
empty file name.

This commit ignores files which do not exist, prints a warning if no
image is selected, and cancels the operation.
io_import_images_as_planes.py