|
@@ -25,6 +25,7 @@ public:
|
|
ClassDB::bind_method("_update_obj", &AnimationTrackKeyEdit::_update_obj);
|
|
ClassDB::bind_method("_update_obj", &AnimationTrackKeyEdit::_update_obj);
|
|
ClassDB::bind_method("_key_ofs_changed", &AnimationTrackKeyEdit::_key_ofs_changed);
|
|
ClassDB::bind_method("_key_ofs_changed", &AnimationTrackKeyEdit::_key_ofs_changed);
|
|
ClassDB::bind_method("_hide_script_from_inspector", &AnimationTrackKeyEdit::_hide_script_from_inspector);
|
|
ClassDB::bind_method("_hide_script_from_inspector", &AnimationTrackKeyEdit::_hide_script_from_inspector);
|
|
|
|
+ ClassDB::bind_method("get_root_path", &AnimationTrackKeyEdit::get_root_path);
|
|
}
|
|
}
|
|
|
|
|
|
//PopupDialog *ke_dialog;
|
|
//PopupDialog *ke_dialog;
|
|
@@ -612,6 +613,10 @@ public:
|
|
_change_notify();
|
|
_change_notify();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ Node *get_root_path() {
|
|
|
|
+ return root_path;
|
|
|
|
+ }
|
|
|
|
+
|
|
AnimationTrackKeyEdit() {
|
|
AnimationTrackKeyEdit() {
|
|
hidden = true;
|
|
hidden = true;
|
|
key_ofs = 0;
|
|
key_ofs = 0;
|