Andrey Antukh 47b1497dd4 🐛 Prevent image-Frankenstein path-edit state
Entering path edit on a non-path shape (image/rect/circle) wrote
:content into the file objects map before the shape was converted,
producing a Frankenstein shape that could later become a :path without
:content and fail backend validation with :data-validation.

- start-editing-selected now emits dwsh/update-shapes convert-to-path
  before start-path-edit for image/rect/circle shapes.
- st/set-content asserts the target is a :path/:bool shape so any future
  regression surfaces locally instead of corrupting the file.
- Add frontend tests covering the convert-first ordering, the set-content
  guard, and that convert-to-path emits a :set :content op.

AI-assisted-by: hy3-free
2026-07-09 12:03:29 +02:00
..
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-05-14 17:14:31 +02:00