Blender Git Loki

Git Commits -> Revision f4d5a69

Revision f4d5a69 by Campbell Barton (master)
April 30, 2021, 10:48 (GMT)
Fix crash running constraint, modifier, fx from missing NULL check

None of these generic poll functions had NULL pointer checks,
since all operators that use these functions expect a valid constraint,
modifier .. etc. Add the NULL check to the poll function.

Ref D11126

Reviewed By: mont29, Severin

Commit Details:

Full Hash: f4d5a69cf8512aafcc697d1b09f65489015b6af4
Parent Commit: d6b26b3
Lines Changed: +18, -1

4 Modified Paths:

/source/blender/editors/object/object_constraint.c (+5, -0) (Diff)
/source/blender/editors/object/object_gpencil_modifier.c (+4, -0) (Diff)
/source/blender/editors/object/object_modifier.c (+4, -0) (Diff)
/source/blender/editors/object/object_shader_fx.c (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021