From 13c2959c20dc344ca0354e7741253e5c017abcf8 Mon Sep 17 00:00:00 2001 From: n-jay Date: Sat, 30 Mar 2024 18:13:49 +0530 Subject: [PATCH] Rename addon To reduce confusion when referencing addon Update addon name in code --- cuesubmit/plugins/blender/{OpenCue => OpenCue-Blender}/Setup.py | 0 .../plugins/blender/{OpenCue => OpenCue-Blender}/Submission.py | 2 +- .../plugins/blender/{OpenCue => OpenCue-Blender}/__init__.py | 0 .../blender/{OpenCue => OpenCue-Blender}/requirements.txt | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename cuesubmit/plugins/blender/{OpenCue => OpenCue-Blender}/Setup.py (100%) rename cuesubmit/plugins/blender/{OpenCue => OpenCue-Blender}/Submission.py (97%) rename cuesubmit/plugins/blender/{OpenCue => OpenCue-Blender}/__init__.py (100%) rename cuesubmit/plugins/blender/{OpenCue => OpenCue-Blender}/requirements.txt (100%) diff --git a/cuesubmit/plugins/blender/OpenCue/Setup.py b/cuesubmit/plugins/blender/OpenCue-Blender/Setup.py similarity index 100% rename from cuesubmit/plugins/blender/OpenCue/Setup.py rename to cuesubmit/plugins/blender/OpenCue-Blender/Setup.py diff --git a/cuesubmit/plugins/blender/OpenCue/Submission.py b/cuesubmit/plugins/blender/OpenCue-Blender/Submission.py similarity index 97% rename from cuesubmit/plugins/blender/OpenCue/Submission.py rename to cuesubmit/plugins/blender/OpenCue-Blender/Submission.py index f0afc3ccb..2d8f1fe70 100644 --- a/cuesubmit/plugins/blender/OpenCue/Submission.py +++ b/cuesubmit/plugins/blender/OpenCue-Blender/Submission.py @@ -29,7 +29,7 @@ def buildBlenderCmd(layerData): outputFormat = layerData.get('cmd').get('outputFormat') # Hardware use for rendering - addon_prefs = bpy.context.preferences.addons['OpenCue'].preferences + addon_prefs = bpy.context.preferences.addons['OpenCue-Blender'].preferences use_gpu = addon_prefs.use_gpu if use_gpu: renderHW = "CUDA" diff --git a/cuesubmit/plugins/blender/OpenCue/__init__.py b/cuesubmit/plugins/blender/OpenCue-Blender/__init__.py similarity index 100% rename from cuesubmit/plugins/blender/OpenCue/__init__.py rename to cuesubmit/plugins/blender/OpenCue-Blender/__init__.py diff --git a/cuesubmit/plugins/blender/OpenCue/requirements.txt b/cuesubmit/plugins/blender/OpenCue-Blender/requirements.txt similarity index 100% rename from cuesubmit/plugins/blender/OpenCue/requirements.txt rename to cuesubmit/plugins/blender/OpenCue-Blender/requirements.txt