zero01101/openOutpaint

[Bug]: ghosts of deleted layers haunt future generations

Closed this issue · 2 comments

What happened?

content in deleted layers affects future dream generation and it's spooky because i banished these evil spirits yet still they remain

Steps to reproduce the problem

  • generate a dream and create a new layer
    image
  • outpaint on top of it, accepting an image causing the new layer to contain pixel data
    image
  • delete the new layer and toggle debug mode to enabled, and outpaint again, overlapping the region that would have been in the layer you just deleted
    image
  • receive spooky ghost in debug png and resultant outpaint, uh, output
    image
    image

What should have happened?

NO GHOSTS
2SPOOKY

Commit where the problem happens

observed on 6bc3043, likely occurrs much earlier

What platforms do you use to access openOutpaint?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Browser Extensions/Addons

seriously a lot but they're not doing this

AUTOMATIC1111 webUI Commandline Arguments

yep

Additional information

👻

@zero01101 it seems to be an issue in the layer management lib.

Screenshot_2023-02-18-15-32-08-768_com.github.android.jpg

I'm currently not with a computer, so if you can, there you need to change the hide() and unhide() functions to set this.state.visible = true and false respectively instead of setting the display variable manually.

confirmed ghostbusting, very muchly obliged!