Click on OK and then apply Path>Union.
9.07 Object on Path
The Object on Path function can be used to align repeats of a shape along the path of another shape:
IMPORTANT: Before applying the function, check the Layers Panel to make sure the shape to be repeated
is on a higher layer than the path:
To open the Object on Path window, select both the path and the shape to be repeated and go to
Effects>Object on Path. Because there are so many settings in this window, only about half will be
explained at this point:
Select Top, Middle or Bottom
part of shape to be aligned