EpicGamesExt / BlenderTools

Blender addons that improve the game development workflow between Blender and Unreal.
https://epicgamesext.github.io/BlenderTools/
MIT License
2.76k stars 49 forks source link

UE to Rigify - Metarig's `rigify_finalize_script` is ignored #697

Open dannymcgee opened 10 months ago

dannymcgee commented 10 months ago

I have kind of a difficult source rig that I'm trying to shoehorn a Rigify control rig onto. UE to Rigify gets me 90% of the way there, but there are a handful of operations I need to do after the Rigify rig is generated to get it working the way I want. I was hoping I'd be able to attach a custom script to the metarig's "Run Script" field (the Python property is called rigify_finalize_script), but it seems that UE to Rigify is ignoring that field.

I can still make it work by manually executing the script after switching to Control mode, but that's not really an ideal workflow. (For example, if I forget to do it before I start posing the control rig, I may need to backtrack and lose some work in the process.)

I recognize that supporting custom finalization scripts in custom templates is potentially problematic, because it's adding a dependency to some data that's local to the file where the template was created — I'm not really a Blender expert and I'm not familiar with the implementation details of this addon, so I'm not sure if there's a good solution to that.

lucioerlan commented 9 months ago

@dannymcgee

any news on this?