diff options
author | Juan Linietsky <juan@godotengine.org> | 2020-02-28 08:27:04 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2020-02-28 11:20:45 -0300 |
commit | 475e4ea67b7e650fd1df01eab6ea659afbc16ec5 (patch) | |
tree | 9e9603a3bd51a5d31a767334fa413b030a3ed402 /scene/3d/mesh_instance.cpp | |
parent | 5beccaf86fc89166d0b7d28cfcf719cad8fb30ee (diff) |
Removed interactive loader, added proper thread loading.
Diffstat (limited to 'scene/3d/mesh_instance.cpp')
-rw-r--r-- | scene/3d/mesh_instance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/mesh_instance.cpp b/scene/3d/mesh_instance.cpp index 06e1202a24..aaddcac037 100644 --- a/scene/3d/mesh_instance.cpp +++ b/scene/3d/mesh_instance.cpp @@ -101,7 +101,7 @@ void MeshInstance::_get_property_list(List<PropertyInfo> *p_list) const { if (mesh.is_valid()) { for (int i = 0; i < mesh->get_surface_count(); i++) { - p_list->push_back(PropertyInfo(Variant::OBJECT, "material/" + itos(i), PROPERTY_HINT_RESOURCE_TYPE, "ShaderMaterial,StandardMaterial3D")); + p_list->push_back(PropertyInfo(Variant::OBJECT, "material/" + itos(i), PROPERTY_HINT_RESOURCE_TYPE, "ShaderMaterial,StandardMaterial3D", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_DEFERRED_SET_RESOURCE)); } } } |