Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Photoshop: make new publisher default #4051

Merged

Conversation

kalisp
Copy link
Member

@kalisp kalisp commented Nov 1, 2022

Brief description

Removed old Pyblish and switched to Publisher

Description

Updated documentation, updated extension menu

Additional info

Needs to redeploy extension!!!
Refactored to new host class to standardize.

Testing notes:

  1. try various publishing in PS
  2. try to publish workfile with instances created in Pyblish

kalisp and others added 21 commits October 31, 2022 11:14
Going further Adobe DCC should switch to new publisher by default, eg. Publisher is not experimental for them anymore.
Updated extension version number
Functionality already in Publisher.
Moved list_instances and remove_instances directly into PhotoshopHost (needed for Creators).
Use PhotoshopHost class instead to standardize.
If subset was created with layer name, keep it when renaming.
get_dynamic_data requires instance as positional argument
Ingested into PhotoshopHost
Obsolete, replaced by Publisher
Replaced by Publisher
Manage should trigger Scene Manager, eg. loaded containers
Manage should trigger Scene Manager, eg. loaded containers
@kalisp kalisp added the type: enhancement Enhancements to existing functionality label Nov 1, 2022
@kalisp kalisp self-assigned this Nov 1, 2022
@ynbot
Copy link
Contributor

ynbot commented Nov 1, 2022

@github-actions github-actions bot added this to the next-minor milestone Nov 1, 2022
iLLiCiTiT and others added 3 commits November 1, 2022 16:07
…ection-loading-not-working-on-matching-representation

Loader: Fix comparison of repre name
…P-3908_Make-New-Publisher-default-in-Photoshop
kalisp and others added 3 commits November 2, 2022 18:49
Initialize of PhotoshopHost might be potentially expensive

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Initialization might be expensive, use self.host instead.
iLLiCiTiT and others added 6 commits November 2, 2022 19:53
list_instances could be expensive in larger workfiles, it makes sense to cache it for all creator, but only for collecting phase. (This is why creator.collection_shared_data is used.)
…unction' into feature/OP-3908_Make-New-Publisher-default-in-Photoshop
In between cache function was extracted into creator_plugins, use this to standardize betwen different hosts.
cached instances are dictionary where keys are creator identifier, eg family.
@kalisp kalisp requested a review from iLLiCiTiT November 3, 2022 11:48
Standard approach doesn't handle legacy instances, eg. instance without creator_identifier.
@kalisp kalisp changed the title Photoshop: make new publisher default in photoshop Photoshop: make new publisher default Nov 3, 2022
Copy link
Member

@iLLiCiTiT iLLiCiTiT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. It would be good if @64qam would test it again (after my comments) but I think we didn't change anything crutial.

@kalisp kalisp merged commit 0d47e95 into release/3.15.x Nov 4, 2022
@kalisp kalisp deleted the feature/OP-3908_Make-New-Publisher-default-in-Photoshop branch November 4, 2022 11:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants