When marked true, this boolean field input will cause the inputted position to be added to the existing position rather than replacing it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- setpos (branched from master)
- Build Status
Buildable 17618 Build 17618: arc lint + arc unit
Event Timeline
| source/blender/nodes/geometry/nodes/node_geo_set_position.cc | ||
|---|---|---|
| 51 | Since the offsets is usually probably just a single true or false value, it's probably best to use a virtual array here: Same probably goes for position, but mostly because creating a temporary array involves an extra copy here when we don't really need it. In the future we could have different code paths depending on whether the offset input is a single value or not, maybe it's worth noting that in a comment. | |
Comment Actions
Thanks Johnny, looking simpler now! We can always optimize in more complex ways in the future.
