diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-24 18:36:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 18:36:54 +0200 |
commit | 29616514448297d8222928fe89e8b62193d1fa44 (patch) | |
tree | 82e6bbc2e55ab87d78d0af9dcd45c3f5742446d8 /core | |
parent | c8c0f218809aede4bd066a0b06aded8167da2554 (diff) | |
parent | 673c649adbaac7e484abf2c96e24d6e846827455 (diff) |
Merge pull request #64691 from TokageItLab/Quaternion-editor
Diffstat (limited to 'core')
-rw-r--r-- | core/core_constants.cpp | 1 | ||||
-rw-r--r-- | core/object/object.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/core_constants.cpp b/core/core_constants.cpp index dc0ab72a86..299b60872d 100644 --- a/core/core_constants.cpp +++ b/core/core_constants.cpp @@ -612,6 +612,7 @@ void register_global_constants() { BIND_CORE_ENUM_CONSTANT(PROPERTY_HINT_LOCALE_ID); BIND_CORE_ENUM_CONSTANT(PROPERTY_HINT_LOCALIZABLE_STRING); BIND_CORE_ENUM_CONSTANT(PROPERTY_HINT_NODE_TYPE); + BIND_CORE_ENUM_CONSTANT(PROPERTY_HINT_HIDE_QUATERNION_EDIT); BIND_CORE_ENUM_CONSTANT(PROPERTY_HINT_MAX); BIND_CORE_ENUM_CONSTANT(PROPERTY_USAGE_NONE); diff --git a/core/object/object.h b/core/object/object.h index f1ac938bb2..13a40191e6 100644 --- a/core/object/object.h +++ b/core/object/object.h @@ -94,6 +94,7 @@ enum PropertyHint { PROPERTY_HINT_LOCALE_ID, PROPERTY_HINT_LOCALIZABLE_STRING, PROPERTY_HINT_NODE_TYPE, ///< a node object type + PROPERTY_HINT_HIDE_QUATERNION_EDIT, /// Only Node3D::transform should hide the quaternion editor. PROPERTY_HINT_MAX, // When updating PropertyHint, also sync the hardcoded list in VisualScriptEditorVariableEdit }; |