Blender Git Commit Log

Git Commits -> Revision ec77228

Revision ec77228 by Philipp Oeser (master)
October 27, 2021, 06:50 (GMT)
Fix T92402: copy_particle_systems use_active fails outside the
Properties Editor

Similar to rBf9308a585ecd, use `psys_get_current` if we cant get the
active psys from context (which is only defined for the Properties
Editor). Other solution would be to define a "particle_system" context
member in other editors, but for now, stick with the simplest solution.

thx @mano-wii for additional input

Maniphest Tasks: T92402

Differential Revision: https://developer.blender.org/D13000

Commit Details:

Full Hash: ec77228f0f6a6205fea9437c85e618f7d779064c
Parent Commit: b3b2cd1
Lines Changed: +9, -3

1 Modified Path:

/source/blender/editors/physics/particle_object.c (+9, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021