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
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
e14b0b2
OP-3908 - whitelist all DCC but Adobe
kalisp Oct 31, 2022
c43180a
OP-3908 - switch Photoshop to New Publisher
kalisp Oct 31, 2022
73c6dc1
OP-3908 - updated extension menu
kalisp Oct 31, 2022
bc945e9
OP-3908 - fix - wrong regex
kalisp Oct 31, 2022
7809f83
OP-3908 - remove SubsetManager rout
kalisp Oct 31, 2022
e500cae
OP-3908 - modified host registration
kalisp Oct 31, 2022
d9b3388
OP-3908 - remove SubsetManager menu item
kalisp Oct 31, 2022
645971c
better deffer reset of publisher
iLLiCiTiT Oct 31, 2022
54828e5
OP-3908 - fix renaming, keep layer name
kalisp Nov 1, 2022
638f823
run openpype subprocess using 'Popen' instead of 'check_output' function
iLLiCiTiT Nov 1, 2022
298fbca
removed unnecessary headless environment (handled by '--headless' arg)
iLLiCiTiT Nov 1, 2022
c178d6e
formatting changes
iLLiCiTiT Nov 1, 2022
352d5c8
OP-3908 - fix - pass None as instance argument
kalisp Nov 1, 2022
0af6d3f
OP-3908 - remove workio file
kalisp Nov 1, 2022
c2aa33c
OP-3908 - remove subset manager menu item
kalisp Nov 1, 2022
a04663c
OP-3908 - remove legacy creator
kalisp Nov 1, 2022
2fb06c9
OP-3908 - return Manage to menu
kalisp Nov 1, 2022
084ce97
OP-3908 - return Manage to menu
kalisp Nov 1, 2022
4161b3b
use Deadline 'ProcessUtils' to run openpype process
iLLiCiTiT Nov 1, 2022
f1e198e
fix too long line
iLLiCiTiT Nov 1, 2022
bd72e16
OP-3908 - updates to documentation
kalisp Nov 1, 2022
761d624
fix comparison of repre name
iLLiCiTiT Nov 1, 2022
d9b4c3f
Merge pull request #4053 from pypeclub/bugfix/OP-4054_Loader-mutlisel…
iLLiCiTiT Nov 1, 2022
ddb77c2
Merge branch 'develop' of github.com:pypeclub/OpenPype into feature/O…
kalisp Nov 1, 2022
4850b57
Merge pull request #4048 from pypeclub/feature/publisher_delayed_reset
iLLiCiTiT Nov 1, 2022
58832dd
[Automated] Merged develop into main
ynbot Nov 2, 2022
bae7a99
[Automated] Bump version
Nov 2, 2022
862a932
[Automated] Merged main into develop
ynbot Nov 2, 2022
52903dd
Merge pull request #4050 from pypeclub/bugfix/OP-4256_Deadline-extrac…
iLLiCiTiT Nov 2, 2022
a733184
Merge branch 'develop' of github.com:pypeclub/OpenPype into feature/O…
kalisp Nov 2, 2022
1a6cc37
OP-3908 - added missed xml help
kalisp Nov 2, 2022
296c2e1
Merge remote-tracking branch 'origin/release/3.15.x' into feature/OP-…
kalisp Nov 2, 2022
60b21fb
OP-3908 - remove overwrite __init__
kalisp Nov 2, 2022
0f4d15e
OP-3908 - use host on Creator
kalisp Nov 2, 2022
ec66544
OP-3908 - remove initialization of PhotoshopHost
kalisp Nov 2, 2022
3e90759
OP-3908 - added missed interface
kalisp Nov 2, 2022
e5205f5
prepared common function to cache instances during collection phase
iLLiCiTiT Nov 2, 2022
53467f9
use new function in tray publisher
iLLiCiTiT Nov 2, 2022
eaa097d
change 'REVIEW_EXTENSIONS' to set instead of list
iLLiCiTiT Nov 2, 2022
dfb79da
OP-3908 - added caching of list_instances
kalisp Nov 3, 2022
28e8728
Merge remote-tracking branch 'origin/feature/publisher_common_cache_f…
kalisp Nov 3, 2022
d6ffdc9
OP-3908 - use caching function from creator
kalisp Nov 3, 2022
dee4d18
OP-3908 - fix - use family to filter instances
kalisp Nov 3, 2022
0e9c0a5
OP-3908 - fix - use values, filtering is later
kalisp Nov 3, 2022
cb5c8c2
OP-3908 - revert back to PS cache
kalisp Nov 3, 2022
7825367
OP-3908 - fix calling of list_instances
kalisp Nov 3, 2022
fbaa23b
OP-3908 - fix no default value for image creator
kalisp Nov 3, 2022
7981b40
OP-3908 - Hound
kalisp Nov 3, 2022
47da172
OP-3908 - remove uninstall
kalisp Nov 3, 2022
0e8b3ad
OP-4371 - updated error messages
kalisp Nov 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 4 additions & 31 deletions openpype/hosts/photoshop/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,15 @@
from .launch_logic import stub

from .pipeline import (
PhotoshopHost,
ls,
list_instances,
remove_instance,
install,
uninstall,
containerise,
get_context_data,
update_context_data,
get_context_title
containerise
)
from .plugin import (
PhotoshopLoader,
get_unique_layer_name
)
from .workio import (
file_extensions,
has_unsaved_changes,
save_file,
open_file,
current_file,
work_root,
)


from .lib import (
maintained_selection,
Expand All @@ -40,28 +27,14 @@
"stub",

# pipeline
"PhotoshopHost",
"ls",
"list_instances",
"remove_instance",
"install",
"uninstall",
"containerise",
"get_context_data",
"update_context_data",
"get_context_title",

# Plugin
"PhotoshopLoader",
"get_unique_layer_name",

# workfiles
"file_extensions",
"has_unsaved_changes",
"save_file",
"open_file",
"current_file",
"work_root",

# lib
"maintained_selection",
"maintained_visibility",
Expand Down
Binary file modified openpype/hosts/photoshop/api/extension.zxp
Binary file not shown.
2 changes: 1 addition & 1 deletion openpype/hosts/photoshop/api/extension/CSXS/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<ExtensionManifest ExtensionBundleId="com.openpype.PS.panel" ExtensionBundleVersion="1.0.11" Version="7.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ExtensionManifest ExtensionBundleId="com.openpype.PS.panel" ExtensionBundleVersion="1.0.12" Version="7.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ExtensionList>
<Extension Id="com.openpype.PS.panel" Version="1.0.1" />
</ExtensionList>
Expand Down
Binary file not shown.
24 changes: 0 additions & 24 deletions openpype/hosts/photoshop/api/extension/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@
});
</script>

<script type=text/javascript>
$(function() {
$("a#creator-button").bind("click", function() {
RPC.call('Photoshop.creator_route').then(function (data) {
}, function (error) {
alert(error);
});
});
});
</script>

<script type=text/javascript>
$(function() {
$("a#loader-button").bind("click", function() {
Expand Down Expand Up @@ -75,17 +64,6 @@
});
});
</script>

<script type=text/javascript>
$(function() {
$("a#subsetmanager-button").bind("click", function() {
RPC.call('Photoshop.subsetmanager_route').then(function (data) {
}, function (error) {
alert(error);
});
});
});
</script>

<script type=text/javascript>
$(function() {
Expand All @@ -109,11 +87,9 @@
<script type="text/javascript" src="./client/client.js"></script>

<a href=# id=workfiles-button><button>Workfiles...</button></a>
<a href=# id=creator-button><button>Create...</button></a>
<a href=# id=loader-button><button>Load...</button></a>
<a href=# id=publish-button><button>Publish...</button></a>
<a href=# id=sceneinventory-button><button>Manage...</button></a>
<a href=# id=subsetmanager-button><button>Subset Manager...</button></a>
<a href=# id=experimental-button><button>Experimental Tools...</button></a>
</body>
</html>
8 changes: 1 addition & 7 deletions openpype/hosts/photoshop/api/launch_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,24 +334,18 @@ async def read(self):
return await self.socket.call('photoshop.read')

# panel routes for tools
async def creator_route(self):
self._tool_route("creator")

async def workfiles_route(self):
self._tool_route("workfiles")

async def loader_route(self):
self._tool_route("loader")

async def publish_route(self):
self._tool_route("publish")
self._tool_route("publisher")

async def sceneinventory_route(self):
self._tool_route("sceneinventory")

async def subsetmanager_route(self):
self._tool_route("subsetmanager")

async def experimental_tools_route(self):
self._tool_route("experimental_tools")

Expand Down
6 changes: 4 additions & 2 deletions openpype/hosts/photoshop/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ def safe_excepthook(*args):


def main(*subprocess_args):
from openpype.hosts.photoshop import api
from openpype.hosts.photoshop.api import PhotoshopHost

host = PhotoshopHost()
install_host(host)

install_host(api)
sys.excepthook = safe_excepthook

# coloring in StdOutBroker
Expand Down
Loading