This makes it so that normals are tagged dirty whenever the position attribute is requested for writing. This seems like a good default. If the calling code is aware of normals, it could untag normals when they are not changed by the operation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- tag-dirty-on-write (branched from master)
- Build Status
Buildable 12806 Build 12806: arc lint + arc unit
Event Timeline
| source/blender/blenkernel/intern/attribute_access.cc | ||
|---|---|---|
| 629 | I wonder if the name should be slightly more general, this seems a bit specific to how this works for meshes. Maybe update_on_write? The specific function name provided for this field can give the required context anyway. | |