mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Nuke: improving error message.
This commit is contained in:
parent
c975429799
commit
0271e3b60f
2 changed files with 4 additions and 4 deletions
|
|
@ -45,8 +45,8 @@ class CreateBackdrop(NukeCreator):
|
|||
def create(self, subset_name, instance_data, pre_create_data):
|
||||
if self.check_existing_subset(subset_name, instance_data):
|
||||
raise NukeCreatorError(
|
||||
("subset {} is already published with different HDA"
|
||||
"definition.").format(subset_name))
|
||||
("Subset name '{}' is already used. "
|
||||
"Please specify different Variant.").format(subset_name))
|
||||
|
||||
instance = super(CreateBackdrop, self).create(
|
||||
subset_name,
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ class CreateCamera(NukeCreator):
|
|||
def create(self, subset_name, instance_data, pre_create_data):
|
||||
if self.check_existing_subset(subset_name, instance_data):
|
||||
raise NukeCreatorError(
|
||||
("subset {} is already published with different HDA"
|
||||
"definition.").format(subset_name))
|
||||
("Subset name '{}' is already used. "
|
||||
"Please specify different Variant.").format(subset_name))
|
||||
|
||||
instance = super(CreateCamera, self).create(
|
||||
subset_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue