mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
PackedScene: Fix wrong DEFVAL
This commit is contained in:
parent
fce779a4ef
commit
30835f9d37
@ -1775,7 +1775,7 @@ void PackedScene::set_path(const String &p_path, bool p_take_over) {
|
||||
void PackedScene::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("pack", "path:Node"), &PackedScene::pack);
|
||||
ClassDB::bind_method(D_METHOD("instance:Node", "edit_state"), &PackedScene::instance, DEFVAL(false));
|
||||
ClassDB::bind_method(D_METHOD("instance:Node", "edit_state"), &PackedScene::instance, DEFVAL(GEN_EDIT_STATE_DISABLED));
|
||||
ClassDB::bind_method(D_METHOD("can_instance"), &PackedScene::can_instance);
|
||||
ClassDB::bind_method(D_METHOD("_set_bundled_scene"), &PackedScene::_set_bundled_scene);
|
||||
ClassDB::bind_method(D_METHOD("_get_bundled_scene"), &PackedScene::_get_bundled_scene);
|
||||
|
Loading…
Reference in New Issue
Block a user