In the script script-fu-move-by-layer, after completing the move the script deletes the now-irrelevant path and creates a new one. Once the script has finished, the new path is visible in the color RED and the grab handles are invisible.
I'm using gimp 2.8.0
Here's the code snippet...
(gimp-image-remove-vectors img theVectorID)
(set! theVectorID (car (gimp-vectors-new img "Rotate-Path")))
(set! theStrokeID (car (gimp-vectors-bezier-stroke-new-moveto theVectorID (+ theX1 100) theY1)))
(gimp-vectors-bezier-stroke-lineto theVectorID theStrokeID theX1 theY1)
(gimp-vectors-bezier-stroke-lineto theVectorID theStrokeID theX1 (- theY1 100))
(gimp-image-insert-vectors img theVectorID 0 -1)
(gimp-image-set-active-vectors img theVectorID)
(gimp-vectors-set-visible theVectorID TRUE)
Anyone have any idea why the color is red and not white, and why the grab handles are not shown immediately?
If the path is clicked on, the handles show but the lines between the points remain red.
This is the standard way (in red, without handles) to display paths when you aren't in the Path editor.