From bf76cf7a140661ba6d55fdb234fcfb6894c5ddf2 Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Thu, 28 Jan 2021 17:46:11 +0100 Subject: [PATCH] remove unused decorator --- pype/hosts/maya/plugins/load/load_image_plane.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pype/hosts/maya/plugins/load/load_image_plane.py b/pype/hosts/maya/plugins/load/load_image_plane.py index 7596f7c322..f2640dc2eb 100644 --- a/pype/hosts/maya/plugins/load/load_image_plane.py +++ b/pype/hosts/maya/plugins/load/load_image_plane.py @@ -3,7 +3,7 @@ from avalon.maya.pipeline import containerise from avalon.maya import lib from Qt import QtWidgets, QtCore -from pype.hosts.maya.api import maya_imports +from maya import cmds class CameraWindow(QtWidgets.QDialog): @@ -71,8 +71,6 @@ class ImagePlaneLoader(api.Loader): icon = "image" color = "orange" - - @maya_imports def load(self, context, name, namespace, data): import pymel.core as pm @@ -177,7 +175,6 @@ class ImagePlaneLoader(api.Loader): loader=self.__class__.__name__ ) - @maya_imports def update(self, container, representation): import pymel.core as pm image_plane_shape = None @@ -209,7 +206,6 @@ class ImagePlaneLoader(api.Loader): def switch(self, container, representation): self.update(container, representation) - @maya_imports def remove(self, container): members = cmds.sets(container['objectName'], query=True) cmds.lockNode(members, lock=False)