rubenwardy / NodeBoxEditor

A cuboid-based 3D voxel editor for Minetest.
http://rubenwardy.com/NodeBoxEditor
60 stars 19 forks source link

Refactor dialog system #52

Closed rubenwardy closed 6 years ago

rubenwardy commented 10 years ago

The current dialog system is a mine field for segfaults. It should be rewritten so that it doesn't delete itself when finished. Or so that functions like state::selectmode and menustate::init don't delete the dialog if called from the dialog.

There'll be a programming pattern for this.