From 867d073b98344b848c96012418912a7e72841a31 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 13 Feb 2020 16:03:10 -0300 Subject: Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr. --- scene/resources/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/resources/font.cpp') diff --git a/scene/resources/font.cpp b/scene/resources/font.cpp index 663ae5d45d..872d6a043c 100644 --- a/scene/resources/font.cpp +++ b/scene/resources/font.cpp @@ -192,7 +192,7 @@ Vector BitmapFont::_get_textures() const { Vector rtextures; for (int i = 0; i < textures.size(); i++) - rtextures.push_back(textures[i].get_ref_ptr()); + rtextures.push_back(textures[i]); return rtextures; } -- cgit v1.2.3