Blender Git Loki

Git Commits -> Revision 6d64da1

Revision 6d64da1 by Sebastian Parborg (master)
August 23, 2019, 13:54 (GMT)
Fix potential issues when loading files with missing libraries

This is a continuation of rB39f005eae8eed8b939579aff8c9a05a4f50e5e38

Now all the fields where we check for object type in RNA (like
rna_Curve_object_poll) will have a safe guard for when this isn't the
case. For example when loading files that has missing object libraries
and all missing objects are replaced with empties (placeholders).

Reviewed By: Brecht

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

Commit Details:

Full Hash: 6d64da1e67e319e826450cefc1f6541b0fbb57e9
Parent Commit: 8eb2296
Lines Changed: +127, -25

14 Modified Paths:

/source/blender/editors/object/object_constraint.c (+10, -2) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c (+6, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencillattice.c (+6, -1) (Diff)
/source/blender/modifiers/intern/MOD_armature.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+32, -10) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+6, -1) (Diff)
/source/blender/modifiers/intern/MOD_curve.c (+6, -1) (Diff)
/source/blender/modifiers/intern/MOD_datatransfer.c (+7, -2) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+6, -1) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+15, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshdeform.c (+6, -1) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+6, -1) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+13, -1) (Diff)
/source/blender/modifiers/intern/MOD_surfacedeform.c (+7, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021