Blender Git Loki
Git Commits -> Revision 78ff852
Revision 78ff852 by Alexander Gavrilov (master) February 2, 2021, 20:03 (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: 78ff8526808a4fbc3d261155b1e6f873247ff8ce
Parent Commit: 64a9634
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)