ashifolfi / Chisel

A multiplatform, godot-based level editor for games
BSD 2-Clause "Simplified" License
11 stars 1 forks source link

[BUG] Textures aren't displaying in the TextureBrowser #8

Closed ashifolfi closed 2 years ago

ashifolfi commented 2 years ago

After converting the AssetManager to C# I had to make a few changes. Which have strangely resulted in textures not loading properly?

image

Currently investigating what could cause this. It seems that the textures are indeed being found and loaded properly to some degree image

ashifolfi commented 2 years ago

UPDATE: After realizing I forgot a line to set the texture rect in the primitive pane it IS indeed loading the textures! But something else is going on with both the primitive and the TextureBrowser class

ashifolfi commented 2 years ago

https://github.com/ashifolfi/Chisel/commit/6303ed0f85365ca7fa8f4d4a33407621648414d5 Fixed the texturerect and primitive issues