Library Scripts export fix (#11294) 978d565911

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>
This commit is contained in:
philter
2025-12-19 21:40:35 +00:00
parent fd78cac7a6
commit 180af1a7fc
7 changed files with 96 additions and 1 deletions

View File

@@ -1 +1 @@
9f2de92c4c067ffe814a10115cbbaf8435ca7e46
978d565911157767d990ef157dcd80a688f4df96