Skip to content

Commit 95d131e

Browse files
authored
Merge pull request #113 from ben-wes/fix/erase-plot-iolets
delete iolets when erasing fluid.plotter in edit mode
2 parents 9fc910c + 53433dc commit 95d131e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fluid.plotter/fluid.plotter.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ static void fplot_erase(t_fplot* x, struct _glist *glist){
329329
sys_vgui(".x%lx.c delete %lx_points\n", cv, x);
330330
sys_vgui(".x%lx.c delete %lx_outline\n", cv, x);
331331
sys_vgui(".x%lx.c delete %lx_selframe\n", cv, x);
332+
sys_vgui(".x%lx.c delete %lx_in\n", cv, x);
333+
sys_vgui(".x%lx.c delete %lx_out\n", cv, x);
332334
}
333335

334336
static void fplot_drawplot(t_fplot* x, t_canvas *cv, int clean){

0 commit comments

Comments
 (0)