summaryrefslogtreecommitdiffstats
path: root/core/object
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2024-09-26 20:34:29 +0300
committerMack <86566939+Macksaur@users.noreply.github.com>2024-09-27 22:24:15 +0100
commit85dfd896536ff04dba4afd7d461a28e0ac4b9aee (patch)
tree26583e929ae35235c783fcd9b6de43805ce5434d /core/object
parent76a135926aef1f02f27e4e09093787f2c670956d (diff)
downloadredot-engine-85dfd896536ff04dba4afd7d461a28e0ac4b9aee.tar.gz
Add `@export_tool_button` annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
Diffstat (limited to 'core/object')
-rw-r--r--core/object/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/object.h b/core/object/object.h
index efe22ecc1a..110d2790c5 100644
--- a/core/object/object.h
+++ b/core/object/object.h
@@ -87,6 +87,7 @@ enum PropertyHint {
PROPERTY_HINT_PASSWORD,
PROPERTY_HINT_LAYERS_AVOIDANCE,
PROPERTY_HINT_DICTIONARY_TYPE,
+ PROPERTY_HINT_TOOL_BUTTON,
PROPERTY_HINT_MAX,
};