jmoenig/Snap

Turtle Costume Behaves Differently Now

Opened this issue · 1 comments

Hi!

We have a block that processes the pixels in a costume, and one of the inputs to the block offers all the costumes in the project. It used to work OK, but now it fails if the turtle is the selected costume.

image

It looks like this is happening because (pixels) of costume (Turtle) reports nothing (like (name) of costume (Turtle); (width) of costume (Turtle) and (height) of costume (Turtle) both report 0).

Is there any way to make the turtle costume behave like the other costumes, or alternatively to prohibit the inclusion of that costume from the input dropdown?

image

If not, does anyone have any other ideas for resolving this issue with our activity?

Thanks!

That was always the case. The best way to avoid this, is to just check if the pixels are equal to nothing, then not do the calculations.