diff options
author | Lyuma <xn.lyuma@gmail.com> | 2020-12-23 02:11:13 -0800 |
---|---|---|
committer | Lyuma <xn.lyuma@gmail.com> | 2020-12-23 02:11:13 -0800 |
commit | 4c4a405887ff8e57c05cb5c61972f716f242d068 (patch) | |
tree | 1a288899c3d51d3ee9bb71221aaef2213b244219 /modules/gltf | |
parent | 187be733aac2cb368ee23254d199ff4c71162701 (diff) |
Fix mistake in GLTFMesh.mesh property
Diffstat (limited to 'modules/gltf')
-rw-r--r-- | modules/gltf/gltf_mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_mesh.cpp b/modules/gltf/gltf_mesh.cpp index 626b689a48..09995faab3 100644 --- a/modules/gltf/gltf_mesh.cpp +++ b/modules/gltf/gltf_mesh.cpp @@ -37,7 +37,7 @@ void GLTFMesh::_bind_methods() { ClassDB::bind_method(D_METHOD("get_blend_weights"), &GLTFMesh::get_blend_weights); ClassDB::bind_method(D_METHOD("set_blend_weights", "blend_weights"), &GLTFMesh::set_blend_weights); - ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "EditorSceneImporterMesh"), "set_mesh", "get_mesh"); + ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "mesh"), "set_mesh", "get_mesh"); ADD_PROPERTY(PropertyInfo(Variant::PACKED_FLOAT32_ARRAY, "blend_weights"), "set_blend_weights", "get_blend_weights"); // Vector<float> } |