diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-06-22 09:17:06 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-06-22 09:33:20 -0300 |
commit | fb72edf45e160a3b2b6ab74d8254a4c52a5063a2 (patch) | |
tree | 81168b068ec094b3312a9043f1ac2647e5601599 /scene/3d/mesh_instance.cpp | |
parent | 320c1af616cfd6d54ca8054f8536dbc888e12b6c (diff) | |
download | redot-engine-fb72edf45e160a3b2b6ab74d8254a4c52a5063a2.tar.gz |
Properly exposed material types everywhere.
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 5b5bce342d..e755b1480b 100644 --- a/scene/3d/mesh_instance.cpp +++ b/scene/3d/mesh_instance.cpp @@ -98,7 +98,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, "Material")); + p_list->push_back(PropertyInfo(Variant::OBJECT, "material/" + itos(i), PROPERTY_HINT_RESOURCE_TYPE, "ShaderMaterial,SpatialMaterial")); } } } |