mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 03:21:25 +00:00
Make changes for simplified ObjectDB::get_instance() casting
This commit is contained in:
parent
157f8805c2
commit
a39897953d
15 changed files with 30 additions and 30 deletions
|
|
@ -275,7 +275,7 @@ void ArrayPropertyEdit::edit(Object *p_obj, const StringName &p_prop, const Stri
|
|||
}
|
||||
|
||||
Node *ArrayPropertyEdit::get_node() {
|
||||
return Object::cast_to<Node>(ObjectDB::get_instance(obj));
|
||||
return ObjectDB::get_instance<Node>(obj);
|
||||
}
|
||||
|
||||
bool ArrayPropertyEdit::_dont_undo_redo() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue