Fields-aware version of the curve subdivide node. Cuts accepts an int field
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
This looks good, the change is quite simple anyway.
The node's exec function should be nested inside of modify_geometry_sets now, so it can work on instances.
I'm accepting this since those two changes are trivial though.
I'll probably de-duplicate the code by moving it to the geometry module after your commit.
| source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc | ||
|---|---|---|
| 345 | This can use get_evaluated<int>(0); to get the VArray directly instead of the GVArray_Typed, just a bit simpler that way. | |
| source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc | ||
|---|---|---|
| 339–342 | selection_evaluator -> evaluator | |