diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-08-10 07:41:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-10 07:41:46 +0200 |
| commit | 536950f9f35f48633c6c2c57ae2473bb906221d2 (patch) | |
| tree | 659cb6a83ab8f4d76ae3b11486987c51825a849e /modules/fbx/data/fbx_mesh_data.cpp | |
| parent | f3ddc14d3829ed09d6eab81811bcfb1314626ddf (diff) | |
| parent | 430ad75963a0e6837ef460e78fb99565714b4418 (diff) | |
Merge pull request #21922 from aaronfranke/double
Some work on double-precision support
Diffstat (limited to 'modules/fbx/data/fbx_mesh_data.cpp')
| -rw-r--r-- | modules/fbx/data/fbx_mesh_data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/fbx/data/fbx_mesh_data.cpp b/modules/fbx/data/fbx_mesh_data.cpp index 8b4b1e08b3..dcea476275 100644 --- a/modules/fbx/data/fbx_mesh_data.cpp +++ b/modules/fbx/data/fbx_mesh_data.cpp @@ -433,7 +433,7 @@ void FBXMeshData::sanitize_vertex_weights(const ImportState &state) { { // Sort - real_t *weights_ptr = vm->weights.ptrw(); + float *weights_ptr = vm->weights.ptrw(); int *bones_ptr = vm->bones.ptrw(); for (int i = 0; i < vm->weights.size(); i += 1) { for (int x = i + 1; x < vm->weights.size(); x += 1) { @@ -449,7 +449,7 @@ void FBXMeshData::sanitize_vertex_weights(const ImportState &state) { // Resize vm->weights.resize(max_vertex_influence_count); vm->bones.resize(max_vertex_influence_count); - real_t *weights_ptr = vm->weights.ptrw(); + float *weights_ptr = vm->weights.ptrw(); int *bones_ptr = vm->bones.ptrw(); for (int i = initial_size; i < max_vertex_influence_count; i += 1) { weights_ptr[i] = 0.0; |