Maniphest T77628

Particle edit: X-mirror doesn't work
Closed, Archived

Assigned To
Philipp Oeser (lichtwerk)
Authored By
Sam Van Hulle (sam_vh)
Jun 8 2020, 6:46 PM
Tags
  • BF Blender
Subscribers
Philipp Oeser (lichtwerk)
Sam Van Hulle (sam_vh)

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: rB211b6c29f771

Short description of error
When in Particle Edit mode, the tool's X-mirror option doesn't do anything.

Exact steps for others to reproduce the error

  1. Add a particle system to any object, and set it to Hair.
  2. Enter Particle Edit mode, and enable X-mirror in the Tool options.
  3. Start combing. Nothing is mirrored.

Related Objects

Event Timeline

Sam Van Hulle (sam_vh) created this task.Jun 8 2020, 6:46 PM
Philipp Oeser (lichtwerk) closed this task as Archived.Jun 9 2020, 11:26 AM
Philipp Oeser (lichtwerk) claimed this task.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

The default particles are not mirrored 1:1 so these dont have an exact "partner" on the other side.
This is checked in code by a 0.0002f distance, see PE_update_mirror_cache.

You can get mirrored particles by:

  • creating strands with the Add brush (along with the X-mirror option)
  • selecting particles and mirroring them (Particle > Mirror)

If you have particles prepared like this, combing will take that into account and actually mirror without problems, see

There is already a not in the code that the mirror cache could need a custom threshold (instead of the hardcoded 0.0002f), and it would be good to straighten that out with the new hair object type T68981.
But for now this is working as intended, will close (feel free though to comment again if issues persist).

Sam Van Hulle (sam_vh) added a comment.Jun 10 2020, 7:50 PM

Good to know, but like many things in Blender this should be made clear to the user.
Even just a tooltip saying 'requires mirrored strands' would remove the confusion.