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
Photoshop: mark publishable instances #1093
Photoshop: mark publishable instances #1093
Conversation
Implemented list_instances and remove_instance methods
Warn if duplicate subsets found
Updates subset name in instance metadata and layer name
Use layer name and PUBLISH_ICON, not subset name
Changed structure of metadata from {} to [] Added rename_layer method Switched to attr instead of namedtuple (same as in AE)
PS in Windows opens path with / wrong. File cannot be saved as its name is full path
AE in Windows opens path with / wrong. File cannot be saved as its name is full path
temp_layers_meta = {} | ||
for layer_meta in layers_data: | ||
layer_id = layer_meta.get("uuid") or \ | ||
(layer_meta.get("members")[0]) |
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.
continuation line over-indented for hanging indent
if group.long_name: | ||
for directory in group.long_name[::-1]: | ||
name = directory.replace(stub.PUBLISH_ICON, '').\ | ||
replace(stub.LOADED_ICON, '') |
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.
continuation line over-indented for hanging indent
"Instance subset names are not unique. " + | ||
"Remove duplicates via SubsetManager." | ||
) | ||
assert len(subset_names) == len(set(subset_names)), msg |
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.
no newline at end of file
Closes #643
Added icons:
℗ - highlight publishable instance
▼ - highlight loaded container
Added SubsetManager and implemented methods
Switched representation from namedtuple to attr as former was immutable
Added rename_layer method
Fixed small bugs
Fixed loading of last workfile in PS AND AE
Requires:
ynput/avalon-core#294