-
-
Notifications
You must be signed in to change notification settings - Fork 59
Cycles node setup improvements #54
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
base: master
Are you sure you want to change the base?
Cycles node setup improvements #54
Conversation
Fix cc0textures import Was broken by a design change of the third party texture provider
Add compatibility to removed color space options in 2.81
There is an intended mix of GPL and MIT licensed files.
Co-Authored-By: Elie Michel <[email protected]>
Use cc0textures xml output
This is copied from this Gist https://gist.github.com/ogierm/8f4107cc42cfc9eeb8dea0eaefe5a2b5 and was made in reference to eliemichel#15 (comment)
Co-Authored-By: Elie Michel <[email protected]>
This even makes it more concise and easier to read! 🤩 Code by @eliemichel
Fix pip installing lxml
|
^^ you don't have to if it pisses you. Thanks for continuing your work on this :) |
|
Haha it does kinda piss me as I can only reliably debug via asserts. The whole thing is the basis for later being able to maybe scrape models from 3DModelHaven, so I really want to get it done (plus it sharpens my python a bit 😂) |
…up-Generation-Improvements
|
Just tested the whole lxml thing from Linux and it does work for me there too (after the patch). Loading node groups from the file seems to work too and the groups are not being duplicated. |
While testing I noticed that the string list `names` in the previous version changed it's type at runtime to `bpy.types.ShaderNodeTree` and I couldn't explain why, there was no reassignment. Turns out that that context manager `with ... as ...` expression replaces the references in the list from pointing to strings, but to the actual datablocks that it imported. While it caused me quite some trouble to understand this behavior, it ultimately leads to much, much cleaner code here, as Blender already did already did all of the name - asset tracking I tried to do manually before.
0b068d3 to
9da6b72
Compare
This branch tries to incorporate the changes I've proposed in #53.