Blender Git Loki

Git Commits -> Revision 9565a8e

Revision 9565a8e by Alexander Gavrilov
January 10, 2021, 10:23 (GMT)
Force Fields: implement early filtering by the Affect flags.

Most fields have Affect Location and Rotation options that switch
off their effect, but they are only checked as the last step after
the force is already computed. It is more efficient to check it
when building the list of field objects, just like zero weight.
It is also possible to check the strength-related fields for 0.

As an aside, this adds Location to Texture fields (they don't
handle rotation) and both Location & Rotation checkboxes to
Fluid Flow. Boid and Curve Guide remain without options for
now as they are completely different from others.

Commit Details:

Full Hash: 9565a8ee53547b7de351febd9ba16df367ab5155
Parent Commit: 71a85a2
Lines Changed: +83, -17

9 Modified Paths:

/release/scripts/startup/bl_ui/properties_physics_field.py (+7, -0) (Diff)
/source/blender/blenkernel/BKE_effect.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/cloth.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+64, -9) (Diff)
/source/blender/blenkernel/intern/fluid.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021