diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-23 16:05:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 16:05:12 +0100 |
commit | 73357a76b87ae6b63628ec66914ea50baf465eaf (patch) | |
tree | ee7f58e284c0f65e0a04221b94611ca5ebc22879 /modules/gltf/gltf_mesh.cpp | |
parent | 25d6147b05426f3cb9c58ed5159c8c5c4ef2f763 (diff) | |
parent | 4c4a405887ff8e57c05cb5c61972f716f242d068 (diff) |
Merge pull request #44611 from lyuma/fix_gltfmesh_mesh
Fix mistake in GLTFMesh.mesh property
Diffstat (limited to 'modules/gltf/gltf_mesh.cpp')
-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> } |