This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/blenkernel/intern
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-16 11:45:51 +10:00
2021-07-13 20:51:24 +10:00
2021-06-28 13:16:32 +02:00
2021-05-25 17:16:54 +02:00
2021-08-06 14:24:16 +10:00
2021-08-06 14:24:16 +10:00
2021-07-07 13:42:46 +10:00
2021-08-06 14:24:16 +10:00
2021-08-06 14:24:16 +10:00
2021-06-28 13:16:32 +02:00
2021-08-10 11:27:18 -06:00
2021-08-19 19:27:49 -07:00
2021-06-18 14:41:24 +10:00
2021-07-29 10:52:08 +10:00
2021-07-08 13:31:38 +10:00
2021-06-16 16:14:02 +02:00
2021-08-06 14:24:16 +10:00
2021-07-07 13:42:46 +10:00
2021-08-05 16:54:34 +10:00
2021-06-22 10:54:50 -07:00
2021-07-05 15:54:57 +10:00
2021-08-24 10:01:08 -05:00