-
Notifications
You must be signed in to change notification settings - Fork 48
Create Project Folder Structure: support list of str for leaf folders #1169
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
Create Project Folder Structure: support list of str for leaf folders #1169
Conversation
…e` settings to define folder names instead of requiring dicts with empty values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works!
Tested along with #679
Does not work for me, when tested with #679 Also, I prefer the old method (dicts with empty values), but it's still supported, so I'm happy.
To use
|
…list_of_str_for_leaf_folders
Thanks - will double check what's up. How interesting to see everyone seems to jump on this one this quickly :D haha |
…list_of_str_for_leaf_folders
…r_leaf_folders' of https://github.com/BigRoy/ayon-core into enhancement/project_root_folders_support_list_of_str_for_leaf_folders
There's no means to deprecated the old @alainxi so that should continue to work. @MustafaJafar try again - it should now work with 7baf208 |
I got this printed in the console window but no folders were created. [
[
"__project_root__",
"Assets",
"Characters",
"NewRobo",
"work",
"cfx"
],
[
"__project_root__",
"Assets",
"Characters",
"NewRobo",
"work",
"concept"
],
[
"__project_root__",
"Assets",
"Characters",
"NewRobo",
"work",
"modeling"
],
[
"__project_root__",
"Assets",
"Characters",
"NewRobo",
"work",
"walkcycle"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboPoro",
"work",
"cfx"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboPoro",
"work",
"concept"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboPoro",
"work",
"modeling"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboPoro",
"work",
"walkcycle"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboMad",
"work",
"cfx"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboMad",
"work",
"concept"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboMad",
"work",
"modeling"
],
[
"__project_root__",
"Assets",
"Characters",
"RoboMad",
"work",
"walkcycle"
]
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the new version. Now it works for both methods of leaf entries :
|
…list_of_str_for_leaf_folders
…r_leaf_folders' of https://github.com/BigRoy/ayon-core into enhancement/project_root_folders_support_list_of_str_for_leaf_folders
Co-authored-by: Jakub Trllo <[email protected]>
…list_of_str_for_leaf_folders
Changelog Description
Support
list[str]
for leaf entries incore/project_folder_structure
settings to define folder names instead of requiring dicts with empty valuesAdditional info
Should implement and allow what @MustafaJafar did here.
Would allow this:
Instead of requiring:
Testing notes:
ayon+settings://core/project_folder_structure
to include leaf (end) folders using just a list of strings.