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

UE2Rigify - Custom Rig Template Path #49

Conversation

alexander94dmitriev
Copy link
Collaborator

This feature is adding an ability to choose a template path on where to store your rig templates.

It should mitigate an issue when by default templates are stored in Temp folder and once the folder is being cleaned up it also purges your custom templates.
This won't be happening anymore.

@JoshQuake
Copy link
Collaborator

Awesome thanks! I will approve and run tests after I finish making some final changes tomorrow

- Removed unnecessary requirements
- Removed some unused imports
- Removed CUSTOM_RIG_TEMPLATES_PATH constant
- Fixed create new template issue of not adding the default metarig right away if selected starter for some reason isn't a Rigify default
- Moved get_rig_template_path() to utilities (second guessing this change)
@JoshQuake
Copy link
Collaborator

Apologies for the delay. I've finished making the changes and solved an issue with creating new templates. I'm second guessing moving get[_custom]_rig_template_path to utilities, but it's used in more than one location (templates and Scene) so I decided to move it.

@JoshQuake JoshQuake changed the title Feature: Adding an option for custom template path UE2Rigify - Custom Rig Template Path Jul 30, 2024
@JoshQuake JoshQuake requested a review from jack-yao91 July 30, 2024 19:07
@jack-yao91 jack-yao91 changed the base branch from main to custom-rig-path July 30, 2024 22:26
@jack-yao91
Copy link

Ill pull this into its own branch so we can run the tests first. Ill re-open to main from there

@jack-yao91 jack-yao91 merged commit 46c6db0 into poly-hammer:custom-rig-path Jul 30, 2024
1 of 2 checks passed
JoshQuake added a commit that referenced this pull request Jul 30, 2024
* Feature: Adding an option for custom template path

* restructure and small changes

- Removed unnecessary requirements
- Removed some unused imports
- Removed CUSTOM_RIG_TEMPLATES_PATH constant
- Fixed create new template issue of not adding the default metarig right away if selected starter for some reason isn't a Rigify default
- Moved get_rig_template_path() to utilities (second guessing this change)

---------

Co-authored-by: Alexander Dmitriev <[email protected]>
Co-authored-by: JoshQuake <[email protected]>
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.

3 participants