From 0922288e5120fdd485e234fef195d36505ad329c Mon Sep 17 00:00:00 2001 From: micheus Date: Thu, 22 Jan 2026 14:51:27 -0300 Subject: [PATCH] Fixed an issue related to Wings3D not saving objects' status It was noticed that changes to visibility, lock, wire, and selection in the Geometry Graph window were not being stored when the file had already been saved. To fix this, these actions now mark the file as needing to be saved. Note: Fixed some objects' properties (like visibility) not been saved. Thanks to ozylot --- src/wings_geom_win.erl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wings_geom_win.erl b/src/wings_geom_win.erl index 47d6dcc8..a7bbcc1f 100644 --- a/src/wings_geom_win.erl +++ b/src/wings_geom_win.erl @@ -560,7 +560,10 @@ handle_event(#wx{event=#wxList{type=Op, itemIndex=Indx, col=Col}}, #state{name=Name, shown=Shown} = State) -> {shape, Id} = get_id(Indx, Shown), Action = col_name(Col), - Apply = fun(St) -> Action(Id, Op, St), keep end, + Apply = fun(St) -> + Action(Id, Op, St), + wings_wm:psend(geom,need_save) + end, wings_wm:psend(Name, {apply, false, Apply}), {noreply, State};