Files
test2/source/blender/blenkernel
Robert Guetzkow 38bdde852f Fix T90715: Remove correct particle modifier through Python API
Before this patch attempting to remove a particle modifier programmatically
through Python would fail, because it deleted the modifier associated with
the currently active particle system instead of the one passed as an argument
to `bpy.types.ObjectModifiers.remove()`.

This fix  adds an additional argument for the particle system to
`object_remove_particle_system`. This allows to specify which particle system
and its associated modifier shall be removed. In case of
`particle_system_remove_exec` it will remain the currently active particle
system, whereas `object_remove_particle_system` passes the particle system
of the modifier. Hence, the correct modifier will be removed.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D12234
2021-08-24 18:41:22 +02:00
..
2021-07-07 13:42:46 +10:00
2021-08-09 22:55:38 +10:00
2021-07-16 11:48:54 +10:00
2020-10-01 14:29:45 +02:00
2020-12-15 17:19:55 +01:00
2021-08-20 02:30:11 +02:00
2021-07-02 12:15:29 +10:00
2021-06-10 12:15:59 +02:00
2021-08-03 12:33:36 +02:00