scurest / apicula

Convert Nintendo DS .nsbmd models
BSD Zero Clause License
160 stars 19 forks source link

Crashes when minimizing/restoring the viewer window several times #19

Closed LexouDuck closed 5 years ago

LexouDuck commented 5 years ago
$ apicula view */*.nsb*
Got 110 models, 127 textures, 127 palettes, 73 animations, 0 pattern animations.
--------
Controls
--------
  WASD         Forward/Left/Back/Right
  EQ           Up/Down
  L.Shift      Increase Speed
  L.Ctrl       Decrease Speed
  L.Mouse      Free Look
  ,.           Prev/Next Model
  OP           Prev/Next Animation
  []           Single-step Animation
  KL           Prev/Next Pattern Animation
  Space        Print Info

[INFO] Guessed window DPI factor: 1
thread 'main' panicked at 'The aspect ratio cannot be below zero, found: NaN', C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\cgmath-0.16.1\src\projection.rs:114:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Illegal instruction

This crash occurs after minimizing and restoring the window 3 to 5 times I'm on a Windows 7 64-bit PC

scurest commented 5 years ago

Thanks LexouDuck. Can you check if this is fixed?