From de9f0f7fa46fa757f1b6ce6d6b985360de98410d Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 21 Oct 2021 15:28:25 +0200 Subject: [PATCH] adde commented example tool --- openpype/tools/experimental_tools/tools_def.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/openpype/tools/experimental_tools/tools_def.py b/openpype/tools/experimental_tools/tools_def.py index 6ae4637039..3657c2385b 100644 --- a/openpype/tools/experimental_tools/tools_def.py +++ b/openpype/tools/experimental_tools/tools_def.py @@ -65,6 +65,19 @@ class ExperimentalTools: # Definition of experimental tools experimental_tools = [] + # --- Example tool (callback will just print on click) --- + # def example_callback(*args): + # print("Triggered tool") + # + # experimental_tools = [ + # ExperimentalTool( + # "example", + # "Exmaple experimental tool", + # example_callback, + # "Example tool tooltip." + # ) + # ] + # Try to get host name from env variable `AVALON_APP` if not host_name: host_name = os.environ.get("AVALON_APP")