Blender: Refactor to new publisher#5910
Conversation
… for minimized windows
Unrelated to this PR (and people working on it). |
|
UIs will now pop up to the front if they are behind another window or were minimized - I kept searching for e.g. the loader or publisher, this resolves it in Blender. Checked with @simonebarbieri and decided to put it in this PR. 🤞 |
|
That'd be a quick one if this is ready now! 🌪️ 🔥 |
This works! 🎉 |
openpype/hosts/blender/plugins/publish/extract_fbx_animation.py
Outdated
Show resolved
Hide resolved
Sorry I missed this edit! Animations are created when loading a layout with rigs, not just rigs! This was done because of the original workflow that we had in mind, that was more "Blender -> Unreal". Now it can be used to also export Alembic, which actually work within Blender, (and theoretically blend, but it doesn't work and not because of this PR), so it can be kept visible :) |
- `asset_group` is a Collection and can't be selected, and thus not exported from so we now take the 'root' node in that collection
|
@LiborBatek @simonebarbieri was there anything else - do we need a final test run before merging? |
Lets do last round of tests...will inform what are the findings asap! |
…m/BigRoy/OpenPype into enhancement/blender_new_publisher
simonebarbieri
left a comment
There was a problem hiding this comment.
I think @LiborBatek is still finishing some tests, so let's wait for his review as well, but for I've tested more or less everything and it works great!
Great job @BigRoy and @Sharkitty ! :)
LiborBatek
left a comment
There was a problem hiding this comment.
I have tested both in legacy OP and Ayon mode and all good!!
Great job everyone who involved in this PR!!
Changelog Description
Refactor Blender integration to use the new publisher
Additional info
Thanks to tremendous effort by @Sharkitty there's a big start, you can actually make valid publishes already!
There are todos however:
Animation Creator should maybe be a HiddenCreator?Animation instances in Blender seem to be much simpler than in Maya so they are easier to create; also loading rigs doesn't automatically create an animation instance yet it seems. So I believe they should remain visible.And some additional things to test/validate they work as intended:
PublishValidationErrorsTesting notes:
Tested Publish types: