Fix #115715 : Source transform is checked where result transform should be #115736
|
@ -316,8 +316,8 @@ static IMesh meshes_to_imesh(Span<const Mesh *> meshes,
|
|||
/* Allocate verts
|
||||
* Skip the matrix multiplication for each point when there is no transform for a mesh,
|
||||
* for example when the first mesh is already in the target space. (Note the logic
|
||||
* directly above, which uses an identity matrix with a null input transform). */
|
||||
if (obmats.is_empty() || obmats[mi] == float4x4::identity()) {
|
||||
* directly above, which uses an identity matrix with an empty input transform). */
|
||||
if (obmats.is_empty() || r_info->to_target_transform[mi] == float4x4::identity()) {
|
||||
threading::parallel_for(vert_positions.index_range(), 2048, [&](IndexRange range) {
|
||||
for (int i : range) {
|
||||
float3 co = vert_positions[i];
|
||||
|
|
Loading…
Reference in New Issue