You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Expose Resource.emit_changed() to script
Also known as `emit_signal("changed")`.
(cherry picked from commit e94f46dcdb)
This commit is contained in:
committed by
Rémi Verschelde
parent
37096cff86
commit
b124c0c466
@@ -416,6 +416,7 @@ void Resource::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("is_local_to_scene"), &Resource::is_local_to_scene);
|
||||
ClassDB::bind_method(D_METHOD("get_local_scene"), &Resource::get_local_scene);
|
||||
ClassDB::bind_method(D_METHOD("setup_local_to_scene"), &Resource::setup_local_to_scene);
|
||||
ClassDB::bind_method(D_METHOD("emit_changed"), &Resource::emit_changed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("duplicate", "subresources"), &Resource::duplicate, DEFVAL(false));
|
||||
ADD_SIGNAL(MethodInfo("changed"));
|
||||
|
||||
Reference in New Issue
Block a user