Files
OrcaSlicer/src
Ian Bassiandfire2wind dc9ef93046 Don't divide by zero when hints.ini has no hints
HintDatabase::init() picks a random hint with rand() % the number of
loaded hints. When hints.ini is empty or can't be read, that number is
zero and the app crashes at startup. get_hint() already returns nothing
in that case, but only after init() has run.

Ported from Snapmaker/OrcaSlicer@05acbec702

Co-authored-by: fire2wind <1229725087@qq.com>
2026-11-30 14:12:40 -03:00
..