ottools / ObjectBuilder

MIT License
56 stars 35 forks source link

[Bug] Importing spritesheets (png) overwrites existing sprites #38

Closed the-overdriven closed 2 years ago

the-overdriven commented 2 years ago

Importing png straight into object has a side effect of replacing existing sprites that other objects are using, so it means it will affect all other objects that are using the same sprite.

Instead creating new sprites from imported file, it is overwriting existing sprites.

How to reproduce with Duplicate: Recording 2022-02-28 at 01 02 37 (1)

How to reproduce with Export/Replace: ezgif com-gif-maker

Mignari commented 2 years ago

This is the expected behavior if you press "Yes". To create new sprites, you need to click "No"

Screenshot_188

elewental commented 2 years ago

@Mignari

Using same sprite to different objects may help not making the client so heavy sometimes, perhaps is not something so impactful, and im not sure if everyone who do this way uses this reason, but I do.

And when I realize that I really need add new sprites for only one of the objects, I must replace it by hand. Well I have a suggestion for this situation.

the-overdriven commented 2 years ago

@Mignari it's still bugged when you hit "No": Recording 2022-02-28 at 12 53 29 It should update edited Object, not original one.