summaryrefslogtreecommitdiff
path: root/editor/plugins/root_motion_editor_plugin.cpp
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2023-01-31 19:08:46 +0100
committerRaul Santos <raulsntos@gmail.com>2023-01-31 23:31:15 +0100
commitc7f4ca36a4541686d5944f7bf88e1aa7d32cc24f (patch)
treec3a8426fe3781fa2babb2af469a67b2c0d2d5c53 /editor/plugins/root_motion_editor_plugin.cpp
parent9e9eac46763feec5334f50c55b5ffdd233ae6472 (diff)
Use `PropertyUsageFlags` enum in parse_property
Diffstat (limited to 'editor/plugins/root_motion_editor_plugin.cpp')
-rw-r--r--editor/plugins/root_motion_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/root_motion_editor_plugin.cpp b/editor/plugins/root_motion_editor_plugin.cpp
index d894ba4c4a..e8abecd115 100644
--- a/editor/plugins/root_motion_editor_plugin.cpp
+++ b/editor/plugins/root_motion_editor_plugin.cpp
@@ -229,7 +229,7 @@ bool EditorInspectorRootMotionPlugin::can_handle(Object *p_object) {
return true; // Can handle everything.
}
-bool EditorInspectorRootMotionPlugin::parse_property(Object *p_object, const Variant::Type p_type, const String &p_path, const PropertyHint p_hint, const String &p_hint_text, const uint32_t p_usage, const bool p_wide) {
+bool EditorInspectorRootMotionPlugin::parse_property(Object *p_object, const Variant::Type p_type, const String &p_path, const PropertyHint p_hint, const String &p_hint_text, const BitField<PropertyUsageFlags> p_usage, const bool p_wide) {
if (p_path == "root_motion_track" && p_object->is_class("AnimationTree") && p_type == Variant::NODE_PATH) {
EditorPropertyRootMotion *editor = memnew(EditorPropertyRootMotion);
add_property_editor(p_path, editor);