Skip to content

Commit ee14810

Browse files
committed
Merge pull request godotengine#96207 from BlueCube3310/subres-fix
Fix saving subresources of nodes
2 parents 5a11abc + 6412cdf commit ee14810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/resources/packed_scene.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ void PackedScene::_bind_methods() {
22092209
ClassDB::bind_method(D_METHOD("_get_bundled_scene"), &PackedScene::_get_bundled_scene);
22102210
ClassDB::bind_method(D_METHOD("get_state"), &PackedScene::get_state);
22112211

2212-
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "_bundled", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_INTERNAL), "_set_bundled_scene", "_get_bundled_scene");
2212+
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "_bundled", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_INTERNAL), "_set_bundled_scene", "_get_bundled_scene");
22132213

22142214
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_DISABLED);
22152215
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_INSTANCE);

0 commit comments

Comments
 (0)