Snap icon indicating copy to clipboard operation
Snap copied to clipboard

Project with no scripts exports lots of blocks

Open ToonTalk opened this issue 2 years ago • 2 comments

https://snap.berkeley.edu/snap/snap.html#present:Username=toontalk&ProjectName=empty%20project

has no scripts and no unused blocks. However export blocks lists dozens of blocks mostly crayon and like. Find doesn't reveal the listed blocks either.

Not sure how this came about.

ToonTalk avatar Mar 13 '22 16:03 ToonTalk

Looks like at one point you loaded the colors library and then decided you didn't need it and manually deleted the visible blocks. But I'm not sure why unused blocks doesn't include them; does it not list hidden blocks? Or is there still something in the project that uses a colors library block?

We should consider an "unload library" option in the File menu. Yes I know that would require each block remembering which library it came from. The option could give a warning dialog if any of the blocks of the library chosen for deletion is still in use from outside the library.

brianharvey avatar Mar 13 '22 19:03 brianharvey

This problem showed up before I deleted the visible crayon blocks. I deleted them to see if it would fix the problem or at least simplify it. This project did have a long history.

I like "unload library"

ToonTalk avatar Mar 14 '22 10:03 ToonTalk