Fix saving subresources of nodes
This commit is contained in:
parent
108c603f91
commit
6412cdf27d
1 changed files with 1 additions and 1 deletions
|
@ -2209,7 +2209,7 @@ void PackedScene::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("_get_bundled_scene"), &PackedScene::_get_bundled_scene);
|
ClassDB::bind_method(D_METHOD("_get_bundled_scene"), &PackedScene::_get_bundled_scene);
|
||||||
ClassDB::bind_method(D_METHOD("get_state"), &PackedScene::get_state);
|
ClassDB::bind_method(D_METHOD("get_state"), &PackedScene::get_state);
|
||||||
|
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "_bundled", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_INTERNAL), "_set_bundled_scene", "_get_bundled_scene");
|
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "_bundled", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_INTERNAL), "_set_bundled_scene", "_get_bundled_scene");
|
||||||
|
|
||||||
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_DISABLED);
|
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_DISABLED);
|
||||||
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_INSTANCE);
|
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_INSTANCE);
|
||||||
|
|
Loading…
Reference in a new issue