How to have a continuous ColorRamp in a broken spline (spline with removed segments) I've got a spline to which I assign a color ramp along its length, so that its color varies continuously from (let's say) blue to red from one end to the other. So far, everything ok. Now I remove a segment on the spline, but now what I see in the render is something quite different: each 'subspline' (i.e. each part of the original spline) start with blue and goes to red. What I want is just the original spline going from blue to red with a missing segment, but what I get is two splines each of which go from blue to red.
Any hint as how to solve this will be greatly appreciated.
Edit:
Someone suggested I added detail about how I got the colouring along the length of the curve. This link explains it; I've followed that (the selected answer) to the letter to achieve it.
The simplest solution is, don't delete spline segments.  If you want part of your spline to &quot;not exist&quot;, then use its UV to make these parts hidden, or use a mesh object with a curve modifier to create your spline:

Once you delete spline segments, Blender no longer has an understanding that the newly separated splines have any particular relationship to each other, and cannot draw a colorramp along their length.