mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Cleanup code from review suggestions
Co-authored-by: Fabià Serra Arrizabalaga <fabia.serra92@gmail.com>
This commit is contained in:
parent
791c7deeb5
commit
49b2b657a4
3 changed files with 2 additions and 3 deletions
|
|
@ -187,7 +187,7 @@ class MayaCreatorBase(object):
|
|||
data.pop("publish_attributes", None) # pop to move to end of dict
|
||||
data["publish_attributes"] = publish_attributes
|
||||
|
||||
# Kill any existing attributes just we can imprint cleanly again
|
||||
# Kill any existing attributes just so we can imprint cleanly again
|
||||
for attr in data.keys():
|
||||
if cmds.attributeQuery(attr, node=node, exists=True):
|
||||
cmds.deleteAttr("{}.{}".format(node, attr))
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Creator for Unreal Static Meshes."""
|
||||
"""Creator for Unreal Skeletal Meshes."""
|
||||
from openpype.hosts.maya.api import plugin, lib
|
||||
from openpype.lib import (
|
||||
BoolDef,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ class CreateWorkfile(plugin.MayaCreatorBase, AutoCreator):
|
|||
|
||||
def create(self):
|
||||
|
||||
print("Create...")
|
||||
variant = self.default_variant
|
||||
current_instance = next(
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue