Fix #141556: Multires Apply Base deforms mesh greatly

Introduced in 27433106cd

Pull Request: https://projects.blender.org/blender/blender/pulls/141566
This commit is contained in:
Sean Kim
2025-07-07 19:27:26 +02:00
committed by Sean Kim
parent 4fe0e788a9
commit 333e2068b6

View File

@@ -95,7 +95,7 @@ void multires_reshape_apply_base_refit_base_mesh(MultiresReshapeContext *reshape
}
}
}
center *= blender::math::rcp(tot);
center *= blender::math::rcp(float(tot));
/* Find normal. */
for (int j = 0; j < vert_to_face_map[i].size(); j++) {