Fix #107677: Hair particle edit wrong on object with mirror modifier #107804

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:107677 into main 2023-05-10 15:16:25 +02:00

1 Commits

Author SHA1 Message Date
Philipp Oeser 6e8f9a4b58 Fix #107677: Hair particle edit wrong on object with mirror modifier
Caused by 2fb31f34af.

Since above commit, we are now calling `BKE_mesh_orco_verts_transform`
not only from `psys_face_mat` and `psys_mat_hair_to_orco`, but now also
from `psys_particle_on_dm` > `psys_interpolate_face`, so we get double
transforms with mirror.

Remove the "extra" call in `psys_mat_hair_to_orco`.

Should be backported to 3.3 LTS as well.
2023-05-10 09:36:24 +02:00