Blender Git Loki

Git Commits -> Revision 30c9fe1

Revision 30c9fe1 by Lukas Toenne (master)
February 14, 2014, 11:58 (GMT)
Fix for crash caused by effectors doing precalculation //during// DAG
updates.

This file crashes on loading with NULL pointer access to curve_cache:
{F77132}

The pdInitEffectors function was amalgamating the simple
collection of effector objects with an automatic precalculation for
curve guides and the like. This precalculation requires object data
that may not be available until the DAG has finished.

Since for DAG dependencies only the list of effectors is required,
added an argument to disable precalculation when collecting effectors.

Commit Details:

Full Hash: 30c9fe19a31f6f92be4de2abacb9fd96179a9a04
Parent Commit: 32b45cb
Lines Changed: +68, -54

9 Modified Paths:

/source/blender/blenkernel/BKE_effect.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/cloth.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+55, -43) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/smoke.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021