Remove optional/active state because it's all based on the "Enabled" state of the USD Contribution toggle

This commit is contained in:
Roy Nieterau 2024-07-01 20:52:34 +02:00
parent 5b557213d8
commit d490187178

View file

@ -68,7 +68,8 @@ class ContributionLayersModel(BaseSettingsModel):
"layer on top.")
class CollectUSDLayerContributionsModel(ValidateBaseModel):
class CollectUSDLayerContributionsModel(BaseSettingsModel):
enabled: bool = SettingsField(True, title="Enabled")
contribution_layers: list[ContributionLayersModel] = SettingsField(
title="Department Layer Orders",
description=(
@ -914,8 +915,6 @@ DEFAULT_PUBLISH_VALUES = {
},
"CollectUSDLayerContributions": {
"enabled": True,
"optional": False,
"active": True,
"contribution_layers": [
# Asset layers
{"name": "model", "order": 100},