2026/9/30 Paint System Update

TerraNova Engine · published · build 25619808

Fixes
- Canvas disappearing while dragging — Fixed the canvas vanishing entirely while holding the left mouse button to draw, showing back only after release.
- No live preview — Fixed the missing live preview while painting (same root cause as the item above).
- Strokes stopped working after releasing outside the planet — Fixed painting and preview no longer responding after releasing the mouse button outside the planet's area.
- Undo snapshot issue — Fixed an undo snapshot buffer handle that was not released and could delete other buffers.
Improvements
- "Clear Canvas" renamed to "Clear Layer" — The button only ever cleared the current layer; the old label was misleading. It has also been moved before "Delete Layer".
- Layer button order — Add Layer → Duplicate Layer → Clear Layer → Delete Layer.
- Layer numbers no longer repeat — New layers now use a strictly increasing counter, so deleting a middle layer and adding a new one no longer produces duplicate names; duplicated layers are numbered the same way. Older projects are adapted automatically.
- Clearer brush cursor — The brush / eraser cursor is now a high-contrast ring (white outer, brush color inner) so it stays visible over dark areas.
New
- Drawing basis is now remembered — The Drawing basis (Lon/Lat / Spherical) is saved in the project config and restored when you reopen the project.
Note
- Layers use a fair amount of VRAM (about 64 MB per layer, per planet). Create only as many layers as you need.