Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-01-12 14:49:34 +0300
committerJacques Lucke <jacques@blender.org>2021-01-12 14:50:29 +0300
commit3a254b93fd8597c47fc4fe55fa0417d1f9fa85fc (patch)
tree00fe1e373f828b23a3242b80c37b65146a2dd1c3 /release
parent58dae919e51547a8fe7e676e317de3ee17b49e64 (diff)
Geometry Nodes: support reading from spans of WriteAttribute
Previously, the span returned by `WriteAttribute`s might not contain the current value of the attribute for performance reasons. To avoid some bugs, the span now always contains the old values (they might have to be copied over from the internal storage, dependending on how the attribute is stored). The old behavior is still available with the `get_span_for_write_only` method. The span that it returns might not contain the current attribute values. Therefore, it should only be used when you want to overwrite an attribute without looking at the old values.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions