diff --git a/client/ayon_nuke/plugins/load/load_camera.py b/client/ayon_nuke/plugins/load/load_camera.py index 179f94f..c1f8f83 100644 --- a/client/ayon_nuke/plugins/load/load_camera.py +++ b/client/ayon_nuke/plugins/load/load_camera.py @@ -15,14 +15,16 @@ ) -class _NukeCameraLoader(load.LoaderPlugin): +class AlembicCameraLoader(load.LoaderPlugin): """ This will load a camera into script. """ product_types = {"camera"} representations = {"*"} - enabled = False + extensions = {"abc"} + label = "Load Alembic Camera" + enabled = True settings_category = "nuke" @@ -206,22 +208,12 @@ def remove(self, container): nuke.delete(node) -class AlembicCameraLoader(_NukeCameraLoader): - """ - This will load alembic camera into script. - """ - extensions = {"abc"} - label = "Load Alembic Camera" - enabled = True - - -class FbxCameraLoader(_NukeCameraLoader): +class FbxCameraLoader(AlembicCameraLoader): """ This will load fbx camera into script. """ extensions = {"fbx"} label = "Load FBX Camera" - enabled = True def load(self, context, name, namespace, data): fbx_camera_node = super().load(context, name, namespace,data)