Blender Git Loki

Git Commits -> Revision d0a835b

Revision d0a835b by Alexander Gavrilov
January 24, 2021, 14:39 (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.

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

Commit Details:

Full Hash: d0a835b51565481bc2f20af654fdb4b10eedbe37
Parent Commit: 168f571
Lines Changed: +91, -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 (+72, -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