TagStudio icon indicating copy to clipboard operation
TagStudio copied to clipboard

fix: pyright errors in blender_renderer.py

Open Computerdores opened this issue 1 month ago • 3 comments

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

Computerdores avatar Nov 26 '25 13:11 Computerdores

This does appear to be working with files that don't have a thumbnail.

image

The terminal also prints out the correct output: completePorscheGT3RScompressed.blend Doesn't have an embedded thumbnail.

050011-code avatar Nov 27 '25 00:11 050011-code

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?

Computerdores avatar Nov 27 '25 13:11 Computerdores

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. image image

050011-code avatar Nov 28 '25 00:11 050011-code