11-02-2014, 05:00 PM 
	
	
	
		wings_body and weld function ...
Somehow this feature is iterating over empty parts of a vertex array and getting an "undefined" element sent to e3d_vec:average
I think I have circumvented the problem by save and then reload which should PACK the WEDS object. I don't want to just add a renumber into the weld process willy nilly if the fix should really be done elsewhere.
	
	
	
	
Somehow this feature is iterating over empty parts of a vertex array and getting an "undefined" element sent to e3d_vec:average
I think I have circumvented the problem by save and then reload which should PACK the WEDS object. I don't want to just add a renumber into the weld process willy nilly if the fix should really be done elsewhere.
Code:
Dump written 2014-11-2_11-43
Version: v1.5.3.2014-11-01---18-53.mlab
Window: geom
Reason: function_clause
Short stack trace:
[]
Long stack trace:
[{e3d_vec,average,
          [[undefined,
            {-0.15802236128456365,0.8708992967066219,-0.716667850800668}],
           -0.13996215906055837,2.4105054922393405,-1.847832768311414,4],
          [{file,"e3d_vec.erl"},{line,352}]},
 {wings_body,qualified_fs,4,[{file,"wings_body.erl"},{line,940}]},
 {wings_body,weld_1,3,[{file,"wings_body.erl"},{line,921}]},
 {wings_body,'-weld_objects/4-fun-0-',7,[{file,"wings_body.erl"},{line,900}]},
 {wings_sel,mapfold_1,6,[{file,"wings_sel.erl"},{line,98}]},
 {wings_sel,mapfold,3,[{file,"wings_sel.erl"},{line,93}]},
 {wings_body,weld_objects,4,[{file,"wings_body.erl"},{line,899}]},
 {wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,81}]}] 
	 


![[Image: tw.png]](https://i.postimg.cc/QdjwyGVz/tw.png) @MicheusVieira
 @MicheusVieira   ![[Image: yt.png]](https://i.postimg.cc/WpJBDwQ5/yt.png) @MicheusVieira
 @MicheusVieira   ![[Image: da.png]](https://i.postimg.cc/xTvB5TjH/da.png) Micheuss
 Micheuss   ![[Image: ig.png]](https://i.postimg.cc/4xMvhpC1/ig.png) micheus4wings3d
 micheus4wings3d