mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
#688 - Fix publishing hidden layers
This commit is contained in:
parent
d78a2387da
commit
02c4c15e1c
2 changed files with 0 additions and 4 deletions
|
|
@ -34,8 +34,6 @@ class ExtractImage(pype.api.Extractor):
|
|||
# limit unnecessary calls to client
|
||||
if layer.visible and layer.id not in extract_ids:
|
||||
stub.set_visible(layer.id, False)
|
||||
if not layer.visible and layer.id in extract_ids:
|
||||
stub.set_visible(layer.id, True)
|
||||
|
||||
save_options = []
|
||||
if "png" in self.formats:
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@ class ExtractReview(pype.api.Extractor):
|
|||
# limit unnecessary calls to client
|
||||
if layer.visible and layer.id not in extract_ids:
|
||||
stub.set_visible(layer.id, False)
|
||||
if not layer.visible and layer.id in extract_ids:
|
||||
stub.set_visible(layer.id, True)
|
||||
|
||||
stub.saveAs(output_image_path, 'jpg', True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue