diff options
| author | Juan Linietsky <juan@godotengine.org> | 2020-02-13 16:03:10 -0300 |
|---|---|---|
| committer | Juan Linietsky <juan@godotengine.org> | 2020-02-15 08:36:04 -0300 |
| commit | 867d073b98344b848c96012418912a7e72841a31 (patch) | |
| tree | 3a0fa22ce848b4ee20df2057ebb5eb5d7ea8e89b /scene/animation/animation_player.cpp | |
| parent | 53cf289f309ef44821e5bb1fe0c81de29a82d9d3 (diff) | |
| download | redot-engine-867d073b98344b848c96012418912a7e72841a31.tar.gz | |
Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.
Diffstat (limited to 'scene/animation/animation_player.cpp')
| -rw-r--r-- | scene/animation/animation_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 740dad9a1a..ceee0529c2 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -106,7 +106,7 @@ bool AnimationPlayer::_get(const StringName &p_name, Variant &r_ret) const { } else if (name.begins_with("anims/")) { String which = name.get_slicec('/', 1); - r_ret = get_animation(which).get_ref_ptr(); + r_ret = get_animation(which); } else if (name.begins_with("next/")) { |
