Skip to content

Converting from bitmap to vector moves sprite on stage #1944

@BryceLTaylor

Description

@BryceLTaylor

Expected Behavior

Converting a costume from bitmap to vector should leave the sprite positioned in the same place it was before and its costume center should stay where it is.

Actual Behavior

If you convert a sprite from bitmap to vector, switch to a different costume, and then back the sprite appears lower and to the right of where it was before.

bitmaptovectorchrome

I am seeing this on Chrome and on Firefox. On Safari the sprite disappears altogether, which I'll put in another issue.

Steps to Reproduce

Load the 2.0 project 220174550 (you can use others, this one is easy to see it with)
Select the costumes tab
Select the second costume thumbnail
Note that the two costumes appear in the same location on the stage
Click "Convert to Bitmap"
Note that the image doesn't move on the stage
Select the first costume again
Select the second costume again
note that the sprite has now moved down and to the right.

The sprite in the Paint editor appears in the same place that it used to it has just moved on the stage.

This also happens if you start with a vector and then convert it to a bitmap and then back. You can test that with the default cat.

Operating System and Browser

Mac OS 10.13.4 on Chrome 66.0.3359.117
Firefox 59.0.2 (64-bit)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions