fix: pyright errors in blender_renderer.py
Summary
Progress towards #1061 and #1232 by fixing the errors in blender_renderer.py.
NOTE: I can confirm that blender thumbnails still work, however, I don't have a .blend file without a thumbnail (and couldn't figure out how to create one) so I wasn't able to test that.
Tasks Completed
- Platforms Tested:
- [x] Windows x86
- [ ] Windows ARM
- [ ] macOS x86
- [ ] macOS ARM
- [ ] Linux x86
- [ ] Linux ARM
- Tested For:
- [x] Basic functionality
- [ ] PyInstaller executable
This does appear to be working with files that don't have a thumbnail.
The terminal also prints out the correct output:
completePorscheGT3RScompressed.blend Doesn't have an embedded thumbnail.
This does appear to be working with files that don't have a thumbnail.
The terminal also prints out the correct output:
completePorscheGT3RScompressed.blend Doesn't have an embedded thumbnail.
Thank you for testing that! Are you able to share the .blend file without the thumbnail so I can add it to my testing lib?
You can create your own!
You can click on "File -> Save as" and then tick "Compress" on the pull out side menu, removing the thumbnail on the file you will save.