summaryrefslogtreecommitdiff
path: root/modules/gdnative/include
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-20 16:32:45 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-04-20 17:13:06 +0200
commit2cd952bd846678c5e16d47ed0986c74c6b997e73 (patch)
tree780315e0e4a6e9d8d6aac5b00308faffc91dd5c8 /modules/gdnative/include
parent9cf48b3e995b40bba174f062d0d3f4249e8cdbf0 (diff)
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
Subgroups were added in #37678 but not properly handled everywhere where PROPERTY_USAGE_GROUP is.
Diffstat (limited to 'modules/gdnative/include')
-rw-r--r--modules/gdnative/include/nativescript/godot_nativescript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/include/nativescript/godot_nativescript.h b/modules/gdnative/include/nativescript/godot_nativescript.h
index dcf2ddb9ca..0fb5180103 100644
--- a/modules/gdnative/include/nativescript/godot_nativescript.h
+++ b/modules/gdnative/include/nativescript/godot_nativescript.h
@@ -95,6 +95,7 @@ typedef enum {
GODOT_PROPERTY_USAGE_INTERNATIONALIZED = 64, //hint for internationalized strings
GODOT_PROPERTY_USAGE_GROUP = 128, //used for grouping props in the editor
GODOT_PROPERTY_USAGE_CATEGORY = 256,
+ GODOT_PROPERTY_USAGE_SUBGROUP = 512,
GODOT_PROPERTY_USAGE_NO_INSTANCE_STATE = 2048,
GODOT_PROPERTY_USAGE_RESTART_IF_CHANGED = 4096,
GODOT_PROPERTY_USAGE_SCRIPT_VARIABLE = 8192,