mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Mark underscored properties as internal
These properties look like they were intended to be internal but they were missing the `PROPERTY_USAGE_INTERNAL` flag. - `PackedScene::_bundled` - `PortableCompressedTexture2D::_data` - `ImporterMesh::_data`
This commit is contained in:
@@ -2199,7 +2199,7 @@ void PackedScene::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_get_bundled_scene"), &PackedScene::_get_bundled_scene);
|
||||
ClassDB::bind_method(D_METHOD("get_state"), &PackedScene::get_state);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "_bundled"), "_set_bundled_scene", "_get_bundled_scene");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "_bundled", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_INTERNAL), "_set_bundled_scene", "_get_bundled_scene");
|
||||
|
||||
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_DISABLED);
|
||||
BIND_ENUM_CONSTANT(GEN_EDIT_STATE_INSTANCE);
|
||||
|
||||
Reference in New Issue
Block a user