Add identifiers to blender creators. Fix wrong method name

This commit is contained in:
Sharkitty 2023-06-16 11:16:42 +02:00
parent 3c198694a9
commit d4c030e77d
9 changed files with 9 additions and 1 deletions

View file

@ -264,7 +264,7 @@ class BlenderCreator(Creator):
)
# Add instance to create context
self.add_instance_to_context(instance)
self._add_instance_to_context(instance)
def update_instances(self, update_list):

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api import lib
class CreateAction(openpype.hosts.blender.api.plugin.BlenderCreator):
"""Action output for character rigs"""
identifier = "io.openpype.creators.blender.action"
name = "actionMain"
label = "Action"
family = "action"

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api.pipeline import AVALON_INSTANCES
class CreateAnimation(plugin.BlenderCreator):
"""Animation output for character rigs"""
identifier = "io.openpype.creators.blender.animation"
name = "animationMain"
label = "Animation"
family = "animation"

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api.pipeline import AVALON_INSTANCES
class CreateCamera(plugin.BlenderCreator):
"""Polygonal static geometry"""
identifier = "io.openpype.creators.blender.camera"
name = "cameraMain"
label = "Camera"
family = "camera"

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api.pipeline import AVALON_INSTANCES
class CreateLayout(plugin.BlenderCreator):
"""Layout output for character rigs"""
identifier = "io.openpype.creators.blender.layout"
name = "layoutMain"
label = "Layout"
family = "layout"

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api.pipeline import AVALON_INSTANCES
class CreateModel(plugin.BlenderCreator):
"""Polygonal static geometry"""
identifier = "io.openpype.creators.blender.model"
name = "modelMain"
label = "Model"
family = "model"

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api.pipeline import AVALON_INSTANCES
class CreatePointcache(plugin.BlenderCreator):
"""Polygonal static geometry"""
identifier = "io.openpype.creators.blender.pointcache"
name = "pointcacheMain"
label = "Point Cache"
family = "pointcache"

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api.pipeline import AVALON_INSTANCES
class CreateReview(plugin.BlenderCreator):
"""Single baked camera"""
identifier = "io.openpype.creators.blender.review"
name = "reviewDefault"
label = "Review"
family = "review"

View file

@ -10,6 +10,7 @@ from openpype.hosts.blender.api.pipeline import AVALON_INSTANCES
class CreateRig(plugin.BlenderCreator):
"""Artist-friendly rig with controls to direct motion"""
identifier = "io.openpype.creators.blender.rig"
name = "rigMain"
label = "Rig"
family = "rig"