Skip to content

Commit

Permalink
Merge branch 'rj/sel_vertices_fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Jones committed Oct 15, 2010
2 parents 2523875 + eadc0dc commit ec2f4fc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/wings_sel_cmd.erl
Expand Up @@ -1580,12 +1580,8 @@ hard_edges(#st{selmode=Mode}=St0) ->

vertices_with(N, #st{sel=[]}=St) ->
Sel = fun(V, We) ->
Cnt = wings_vertex:fold(
fun(_, _, _, Cnt) ->
Cnt+1
end, 0, V, We),
Cnt =:= N
end,
vertices_with(N, V, We)
end,
wings_sel:make(Sel, vertex, St);
vertices_with(N, #st{selmode=Mode}=St0) ->
St = if Mode =:= vertex -> St0; true -> wings_sel_conv:mode(vertex, St0) end,
Expand Down

0 comments on commit ec2f4fc

Please sign in to comment.