Example: When the length of the spline is 3 and the expected distance between two points is 1, then we need 4 points. Previously it only created 3.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- curve-resample-off-by-one (branched from master)
- Build Status
Buildable 16854 Build 16854: arc lint + arc unit
Event Timeline
Comment Actions
Thanks for the fix. I guess int( does a floor operation, I probably should have known that. Using ceil first seems to also fix the issue for me.
For some reason (probably not using that explicit "int" conversion, the curve to points node doesn't need the same fix
Comment Actions
I was wrong about that, it doesn't have the same behavior, and curve to points does need the same fix.
