mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Rename Reference to RefCounted
This commit is contained in:
@@ -83,7 +83,7 @@ void EditorHistory::cleanup_history() {
|
||||
void EditorHistory::_add_object(ObjectID p_object, const String &p_property, int p_level_change, bool p_inspector_only) {
|
||||
Object *obj = ObjectDB::get_instance(p_object);
|
||||
ERR_FAIL_COND(!obj);
|
||||
Reference *r = Object::cast_to<Reference>(obj);
|
||||
RefCounted *r = Object::cast_to<RefCounted>(obj);
|
||||
Obj o;
|
||||
if (r) {
|
||||
o.ref = REF(r);
|
||||
|
||||
Reference in New Issue
Block a user