From 661ffb01a998a6afbdd7b3d471cded1a2720e7cc Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Fri, 6 Oct 2023 16:58:10 +0200 Subject: [PATCH] Add `use_selection` attribute def with some explanation specific to the Creator --- .../hosts/resolve/plugins/create/create_shot_clip.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/openpype/hosts/resolve/plugins/create/create_shot_clip.py b/openpype/hosts/resolve/plugins/create/create_shot_clip.py index af8ac533983..b9927fd0efc 100644 --- a/openpype/hosts/resolve/plugins/create/create_shot_clip.py +++ b/openpype/hosts/resolve/plugins/create/create_shot_clip.py @@ -40,6 +40,17 @@ def header_label(text): return [ + BoolDef("use_selection", + label="Use only clips with Chocolate clip color", + tooltip=( + "When enabled only clips of Chocolate clip color are " + "considered.\n\n" + "Acts as a replacement to 'Use selection' because " + "Resolves API exposes no functionality to retrieve " + "the currently selected timeline items." + ), + default=True), + # renameHierarchy UILabelDef( label=header_label("Shot Hierarchy And Rename Settings")