Skip to content

Commit

Permalink
wings_dl: Correct GC of #sp{} records broken in the previous commit
Browse files Browse the repository at this point in the history
wings_dl would crash if smoothed preview was turned on (SHIFT+Tab).
  • Loading branch information
bjorng committed Aug 12, 2015
1 parent b41306f commit 57f3d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wings_dl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,5 @@ update_seen_1(Dl, Seen) when is_integer(Dl) ->
[Dl|Seen];
update_seen_1(Dl, Seen) when is_tuple(Dl), element(1, Dl) =:= sp ->
%% Proxy DL's
update_seen(Dl, Seen);
update_seen_0(tuple_size(Dl), Dl, Seen);
update_seen_1(_, Seen) -> Seen.

0 comments on commit 57f3d60

Please sign in to comment.