mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add templated version of ObjectDB::get_instance()
This commit is contained in:
parent
594d64ec24
commit
bc9d0c7835
49 changed files with 121 additions and 104 deletions
|
|
@ -1932,7 +1932,7 @@ AnimationMixer *AnimationPlayerEditor::fetch_mixer_for_library() const {
|
|||
}
|
||||
|
||||
Node *AnimationPlayerEditor::get_cached_root_node() const {
|
||||
return Object::cast_to<Node>(ObjectDB::get_instance(cached_root_node_id));
|
||||
return ObjectDB::get_instance<Node>(cached_root_node_id);
|
||||
}
|
||||
|
||||
bool AnimationPlayerEditor::_validate_tracks(const Ref<Animation> p_anim) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue