Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Blender 2.81+, and more #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

PeterMinin
Copy link

  • Adapt to Blender 2.80 and 2.81 changes. Tested with versions 2.93 LTS and 3.0.
    • Note: I compared the resulting "extra" images (albedos, etc.) from 2.79 and 3.0, and while there is no obvious visual difference, they are not truly identical. I haven't compared the main images, but I suspect it's the same there.
  • Support Windows (fix file path issues).
  • Reduce .blend file sizes by enabling compression.
  • Fix a small bug.

Based partially on the other forks: thanks phonhay103 and xjiangan.

Most changes happened in Blender 2.80, and 2.81 changed
the API for ShaderNodeMapping.
Note: tested with Blender 2.93 LTS and 3.0.
- Pass absolute paths to Blender API.
  Apparently Blender's current directory and Python's current directory
  are not always the same.
- Fix Windows support: instead of `split('/')`, use library functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant