mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 06:31:13 +00:00
Fix EditorInspectorPlugin virtual bindings and add parse_group callback
This commit is contained in:
parent
e317e34c15
commit
2e4d18c929
13 changed files with 44 additions and 67 deletions
|
|
@ -271,11 +271,7 @@ EditorPropertyRootMotion::EditorPropertyRootMotion() {
|
|||
//////////////////////////
|
||||
|
||||
bool EditorInspectorRootMotionPlugin::can_handle(Object *p_object) {
|
||||
return true; //can handle everything
|
||||
}
|
||||
|
||||
void EditorInspectorRootMotionPlugin::parse_begin(Object *p_object) {
|
||||
//do none
|
||||
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) {
|
||||
|
|
@ -288,9 +284,5 @@ bool EditorInspectorRootMotionPlugin::parse_property(Object *p_object, const Var
|
|||
return true;
|
||||
}
|
||||
|
||||
return false; //can be overridden, although it will most likely be last anyway
|
||||
}
|
||||
|
||||
void EditorInspectorRootMotionPlugin::parse_end() {
|
||||
//do none
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue