riidefi / RiiStudio

Editor for various 3D model formats
https://riidefi.github.io/RiiStudio/
94 stars 16 forks source link

Inability to Remove Textures #27

Closed gayfrogog closed 2 years ago

gayfrogog commented 2 years ago

Textures and materials are unable to be removed from a model, even once added to the model through RiiStudio. This persists when undoing the action - which crashes the whole program.

Here's the log.

Initializing LLVM
[FONT] Loading ./fonts/NotoSansCJKjp-Black.otf
[FONT] Loaded ./fonts/NotoSansCJKjp-Black.otf
[FONT] Loading ./fonts/fa-solid-900.ttf
[FONT] Loaded ./fonts/fa-solid-900.ttf
Dropping file.. /home/alex/cube_test.bmd
Transform: Dest={0x7f88cb073010, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca872010, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca471010, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca872010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x7f88ca070010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d93cc0f0, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d90b3430, w:32, h:32}, Source={0x55a5d90790a0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca872010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x7f88ca070010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d97cc100, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x55a5d9bcc110, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x7f88ca872010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d9bcc110, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
PLEASE submit a bug report to riidefi and include the crash backtrace.
Stack dump:
0.      Program arguments: /home/$USER/Documents/RiiStudio/RiiStudio 

Warning: Program '/home/$USER/Documents/RiiStudio/RiiStudio' crashed.
gayfrogog commented 2 years ago

Additionally, added textures are not saved due to Issue #22