mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
adde commented example tool
This commit is contained in:
parent
29d1c47a58
commit
de9f0f7fa4
1 changed files with 13 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue