mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
update regex name
This commit is contained in:
parent
b822dd0e8d
commit
5e8af09c4b
3 changed files with 4 additions and 4 deletions
|
|
@ -83,7 +83,7 @@ class ValidateModelName(pyblish.api.InstancePlugin,
|
|||
|
||||
def process(self, instance):
|
||||
if not self.is_active(instance.data):
|
||||
self.log.debug("Skipping Validate Frame Range...")
|
||||
self.log.debug("Skipping Validate Model Name...")
|
||||
return
|
||||
|
||||
invalid = self.get_invalid(instance)
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
"enabled": true,
|
||||
"optional": true,
|
||||
"active": false,
|
||||
"regex": "(?P<subset>.*)_(GEO)"
|
||||
"regex": "(.*)_(?P<subset>.*)_(GEO)"
|
||||
},
|
||||
"ValidateLoadedPlugin": {
|
||||
"enabled": false,
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class ValidateModelNameModel(BaseSettingsModel):
|
|||
optional: bool = SettingsField(title="Optional")
|
||||
active: bool = SettingsField(title="Active")
|
||||
regex: str = SettingsField(
|
||||
"(?P<subset>.*)_(GEO)",
|
||||
"(.*)_(?P<subset>.*)_(GEO)",
|
||||
title="Validation regex",
|
||||
description=(
|
||||
"Regex for validating model name. You can use named "
|
||||
|
|
@ -123,7 +123,7 @@ DEFAULT_PUBLISH_SETTINGS = {
|
|||
"enabled": True,
|
||||
"optional": True,
|
||||
"active": False,
|
||||
"regex": "(?P<subset>.*)_(GEO)"
|
||||
"regex": "*_(?P<subset>.*)_(GEO)"
|
||||
},
|
||||
"ValidateLoadedPlugin": {
|
||||
"enabled": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue