Skip to content

Commit 6269d89

Browse files
authored
Merge pull request #132 from ynput/enhancement/YN-1051--Active-button-for-Extract-Image-and-Extract-Layer
Active button for Extract Image and Extract Layers
2 parents 63e1219 + d382f3b commit 6269d89

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

server/settings/publish_plugins.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class ExtractImagePlugin(BaseSettingsModel):
130130
"""Extracts image products and representations per published instance"""
131131
enabled: bool = SettingsField(True, title="Enabled")
132132
optional: bool = SettingsField(False, title="Optional")
133+
active: bool = SettingsField(True, title="Active")
133134
formats: list[str] = SettingsField(
134135
title="Extract Formats",
135136
default_factory=list,
@@ -148,6 +149,7 @@ class ExtractLayersPlugin(BaseSettingsModel):
148149
"""Export layers within the instance layerset to a PSD file."""
149150
enabled: bool = SettingsField(False, title="Enabled")
150151
optional: bool = SettingsField(False, title="Optional")
152+
active: bool = SettingsField(True, title="Active")
151153
merge_layersets: bool = SettingsField(
152154
False,
153155
title="Merge Layersets",
@@ -252,6 +254,7 @@ class PhotoshopPublishPlugins(BaseSettingsModel):
252254
"ExtractImage": {
253255
"enabled": True,
254256
"optional": False,
257+
"active": True,
255258
"formats": [
256259
"png",
257260
"jpg",
@@ -263,6 +266,7 @@ class PhotoshopPublishPlugins(BaseSettingsModel):
263266
"ExtractLayers": {
264267
"enabled": False,
265268
"optional": False,
269+
"active": True,
266270
"merge_layersets": False,
267271
"extension": "psd",
268272
},

0 commit comments

Comments
 (0)