Blender Git Commit Log

Git Commits -> Revision 24deeee

Revision 24deeee by Bastien Montagne (master)
May 21, 2021, 15:22 (GMT)
Fix some RNA physics accessors creating data.

Accessing data through RNA should never implicitely create it. Objects'
and particles' forcefields and collision settings were doing this.

Note that UI code also had to be tweaked to properly handle `None`
(NULL) cases.

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

Commit Details:

Full Hash: 24deeee09e6ba8719fe69af5346eda9d521b0312
Parent Commit: adf2f14
Lines Changed: +13, -31

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_particle.py (+12, -8) (Diff)
/release/scripts/startup/bl_ui/properties_physics_common.py (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+0, -10) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+0, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021