Interrupt / delverengine

Delver game engine and editor
zlib License
794 stars 79 forks source link

[Bug][DelvEdit] Selecting Texture Atlas Crashes #281

Open PythooonUser opened 2 years ago

PythooonUser commented 2 years ago

Steps To Reproduce

grafik

[Delver] Could not find file in any mods: vfx.png
[Delver] Could not find file in any mods: vfx.png
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: vfx.png
        at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:149)
        at com.interrupt.dungeoneer.Art.loadPixmap(Art.java:42)
        at com.interrupt.dungeoneer.gfx.TextureAtlas.load(TextureAtlas.java:140)
        at com.interrupt.dungeoneer.gfx.TextureAtlas.loadIfNeeded(TextureAtlas.java:269)
        at com.interrupt.dungeoneer.gfx.TextureAtlas.getSpriteRegions(TextureAtlas.java:335)
        at com.interrupt.dungeoneer.editor.ui.TextureRegionPicker.makeRegionButtons(TextureRegionPicker.java:112)
        at com.interrupt.dungeoneer.editor.ui.TextureRegionPicker$2.changed(TextureRegionPicker.java:52)
        at com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
        at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:183)
        at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:148)
        at com.badlogic.gdx.scenes.scene2d.utils.Selection.fireChangeEvent(Selection.java:218)
        at com.badlogic.gdx.scenes.scene2d.utils.Selection.choose(Selection.java:52)
        at com.badlogic.gdx.scenes.scene2d.utils.ArraySelection.choose(ArraySelection.java:24)
        at com.badlogic.gdx.scenes.scene2d.ui.SelectBox$SelectBoxList$2.clicked(SelectBox.java:375)
        at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:88)
        at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:59)
        at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:350)
        at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:124)
        at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:342)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:217)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: vfx.png (Internal)
        at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:142)
        at com.badlogic.gdx.files.FileHandle.readBytes(FileHandle.java:228)
        at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:146)
        ... 20 more