mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
PS fix - removed unwanted functions from pywin32
This commit is contained in:
parent
1c32eac7d9
commit
0169501b88
2 changed files with 0 additions and 8 deletions
|
|
@ -23,10 +23,6 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
||||||
}
|
}
|
||||||
|
|
||||||
def process(self, context):
|
def process(self, context):
|
||||||
# Necessary call when running in a different thread which pyblish-qml
|
|
||||||
# can be.
|
|
||||||
pythoncom.CoInitialize()
|
|
||||||
|
|
||||||
stub = photoshop.stub()
|
stub = photoshop.stub()
|
||||||
layers = stub.get_layers()
|
layers = stub.get_layers()
|
||||||
layers_meta = stub.get_layers_metadata()
|
layers_meta = stub.get_layers_metadata()
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,6 @@ class CollectReview(pyblish.api.ContextPlugin):
|
||||||
hosts = ["photoshop"]
|
hosts = ["photoshop"]
|
||||||
|
|
||||||
def process(self, context):
|
def process(self, context):
|
||||||
# Necessary call when running in a different thread which pyblish-qml
|
|
||||||
# can be.
|
|
||||||
pythoncom.CoInitialize()
|
|
||||||
|
|
||||||
family = "review"
|
family = "review"
|
||||||
task = os.getenv("AVALON_TASK", None)
|
task = os.getenv("AVALON_TASK", None)
|
||||||
subset = family + task.capitalize()
|
subset = family + task.capitalize()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue