mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
remove unused decorator
This commit is contained in:
parent
b7f4ad7bd2
commit
bf76cf7a14
1 changed files with 1 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue