Blender Git Loki
Git Commits -> Revision ece7adb
Revision ece7adb by Alexander Gavrilov January 13, 2021, 14:34 (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: ece7adba4ab411a065ff951c3adfb3a29125ca0d
Parent Commit: bdb6142
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)
/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)