mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 21:21:17 +01:00
fix(editor): Properly remove all script core objects when deleted (#11324) a3e784a1f0 3 Fixes for Script asset deletion in this PR: - Present a confirmation dialog if the script is being used by any scripted object on any artboard - When script asset is deleted, make sure to clean up all of the associated core code file/line/points - Also remove the LibraryCodeFile from the library cache. This fixes a bug where after deleting a library script, you couldn't add it back to the file again. Co-authored-by: Philip Chung <philterdesign@gmail.com>
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
978d565911157767d990ef157dcd80a688f4df96
|