12-08-2014, 06:21 PM
It looks to me ... from the way these are called ... that it is supposed to return a #pst{} = Pst
Not ever a #we{}.
Micheus ... can you consider that at least briefly ? Look in wings_we.erl where the merge_we is called. Please.
Not ever a #we{}.
Micheus ... can you consider that at least briefly ? Look in wings_we.erl where the merge_we is called. Please.
Code:
% merge_we/1 is used to transfer draw data to the proper We when merging/combining/bridging/separating objects.
% If an object is added to another object, there may be similarly id numbered verts or other elements.
% So Wings has to renumber all the elements so that each is unique. merge_we/1 ensures that the elements
% you are storing for your draw elements are renumbered accordingly.
merge_we(_We) ->
io:format("merge_we called.",[]),
_We.