Cleanup code from review suggestions

Co-authored-by: Fabià Serra Arrizabalaga <fabia.serra92@gmail.com>
This commit is contained in:
Roy Nieterau 2023-03-21 17:27:08 +01:00 committed by GitHub
parent 791c7deeb5
commit 49b2b657a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -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))

View file

@ -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,

View file

@ -18,7 +18,6 @@ class CreateWorkfile(plugin.MayaCreatorBase, AutoCreator):
def create(self):
print("Create...")
variant = self.default_variant
current_instance = next(
(