summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSilc 'Tokage' Renew <tokage.it.lab@gmail.com>2021-08-16 11:42:24 +0900
committerSilc 'Tokage' Renew <tokage.it.lab@gmail.com>2021-09-05 18:22:17 +0900
commitfacf8f1883bad95c7617df8abfbc1039feafeda8 (patch)
treeb7dcd4953e5f6f51630298f405c5c05be71b6a24 /core
parent0bdbce672c3c7b1894a6ac76cb2202966b05e735 (diff)
Apply set_read_only() to child classes of EditorProperty elements
Diffstat (limited to 'core')
-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 102776a589..1838e7eb3d 100644
--- a/core/object/object.h
+++ b/core/object/object.h
@@ -132,6 +132,7 @@ enum PropertyUsageFlags {
PROPERTY_USAGE_DEFERRED_SET_RESOURCE = 1 << 26, // when loading, the resource for this property can be set at the end of loading
PROPERTY_USAGE_EDITOR_INSTANTIATE_OBJECT = 1 << 27, // For Object properties, instantiate them when creating in editor.
PROPERTY_USAGE_EDITOR_BASIC_SETTING = 1 << 28, //for project or editor settings, show when basic settings are selected
+ PROPERTY_USAGE_READ_ONLY = 1 << 29,
PROPERTY_USAGE_DEFAULT = PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_NETWORK,
PROPERTY_USAGE_DEFAULT_INTL = PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_NETWORK | PROPERTY_USAGE_INTERNATIONALIZED,