Blender Git Commit Log

Git Commits -> Revision 1fe0f29

Revision 1fe0f29 by Alexander Gavrilov
January 29, 2021, 16:04 (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: 1fe0f296291ea009167cc40b0e1975396f6b04ad
Parent Commit: a898a70
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021