Blender Git Loki
Git Commits -> Revision cd5ab21
April 23, 2015, 07:09 (GMT) |
Allow the dupli override simulation to specify layers of effector influence explicitly. The previous code would only allow using the layers of the given object. This is not useful for dupli overrides, because even finding which layers an object in a dupligroup is in is cumbersome. It makes more sense to use the layers of the duplicator instead. There is an '_ex' version of the pdInitEffectors function now, with an explicit layers argument. The simple version now also skips the 'precalc' argument, because this was true in every case except the depsgraph dependency building anyway. |
Commit Details:
Full Hash: cd5ab215e339a1daa1e8fcb4470bfa55c2861c6d
Parent Commit: 38a28ce
Lines Changed: +27, -17
12 Modified Paths:
/source/blender/blenkernel/BKE_cache_library.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_effect.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/cache_library.c (+1, -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 (+10, -5) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+1, -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)
/source/blender/editors/io/io_cache_library.c (+3, -0) (Diff)
/source/blender/blenkernel/BKE_effect.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/cache_library.c (+1, -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 (+10, -5) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+1, -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)
/source/blender/editors/io/io_cache_library.c (+3, -0) (Diff)