<< invalid groups should disappear as soon as possible. >>
I agree.
It is possible to crash Wings trying to rename an invalid selection.
Create a cube
Select top face and create a group called "top"
Select botton face and create a group called "botton"
Select top face and call Face|Collapse
Right click on group "top", call Rename and click OK.
Wings crashes.
dump file is big, so this is just head/tail.
----------------
Dump written 2012-12-12_21-18
Version: 1.5.pre1.38.g62be8
Window: geom
Reason: function_clause
Short stack trace:
[]
Long stack trace:
[{wings,command_1,
[{sel_groups,{rename_group,{{vertex,"top"},"invalid"}}},
{st,{2,
{1,
{we,1,0,"Cube1",
{array,1728,10000,undefined,
{{{{{edge,0,432,1589,1040,1589,1,2,1041},
{edge,0,433,1429,1589,1429,2,0,1590},
{edge,0,434,1040,1429,1040,0,1,1430},
{edge,1,435,1605,1024,1605,4,5,1025},
{edge,1,436,1585,1605,1585,540,3,1606},
{edge,1,437,1024,1044,1024,3,540,1045},
{edge,2,438,1621,1008,1621,7,8,1009},
{edge,2,439,1601,1621,1601,543,6,1622},
{edge,2,440,1008,1028,1008,6,543,1029},
{edge,3,441,1617,1184,1617,546,10,1185}},
{{edge,3,442,1184,1012,1184,9,546,1013},
{edge,4,443,1637,1592,1637,12,541,1593},
...............................................................
{specular,{0.0,0.0,0.0,1.0}},
{vertex_colors,set}]}],
nil,nil}},
{1,
{wings_shape,
{no_folder,[{no_folder,{open,{1,{1,nil,nil}}}}]},
nil,nil}},
{view,quick_preview},
undefined}]},
true,[]}],
[{file,"wings.erl"},{line,680}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,81}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,566}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,825}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,796}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,698}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1262}]},
{wings_wm,'-redraw_all/0-fun-1-',1,[{file,"wings_wm.erl"},{line,713}]}]
EDIT:
The problem isnt related to invalid selections but to Rename command in SG window.
Create a cube
Select all its faces and create a X group
Try to rename that group
Wings crashes
I agree.
It is possible to crash Wings trying to rename an invalid selection.
Create a cube
Select top face and create a group called "top"
Select botton face and create a group called "botton"
Select top face and call Face|Collapse
Right click on group "top", call Rename and click OK.
Wings crashes.
dump file is big, so this is just head/tail.
----------------
Dump written 2012-12-12_21-18
Version: 1.5.pre1.38.g62be8
Window: geom
Reason: function_clause
Short stack trace:
[]
Long stack trace:
[{wings,command_1,
[{sel_groups,{rename_group,{{vertex,"top"},"invalid"}}},
{st,{2,
{1,
{we,1,0,"Cube1",
{array,1728,10000,undefined,
{{{{{edge,0,432,1589,1040,1589,1,2,1041},
{edge,0,433,1429,1589,1429,2,0,1590},
{edge,0,434,1040,1429,1040,0,1,1430},
{edge,1,435,1605,1024,1605,4,5,1025},
{edge,1,436,1585,1605,1585,540,3,1606},
{edge,1,437,1024,1044,1024,3,540,1045},
{edge,2,438,1621,1008,1621,7,8,1009},
{edge,2,439,1601,1621,1601,543,6,1622},
{edge,2,440,1008,1028,1008,6,543,1029},
{edge,3,441,1617,1184,1617,546,10,1185}},
{{edge,3,442,1184,1012,1184,9,546,1013},
{edge,4,443,1637,1592,1637,12,541,1593},
...............................................................
{specular,{0.0,0.0,0.0,1.0}},
{vertex_colors,set}]}],
nil,nil}},
{1,
{wings_shape,
{no_folder,[{no_folder,{open,{1,{1,nil,nil}}}}]},
nil,nil}},
{view,quick_preview},
undefined}]},
true,[]}],
[{file,"wings.erl"},{line,680}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,81}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,566}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,825}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,796}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,698}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1262}]},
{wings_wm,'-redraw_all/0-fun-1-',1,[{file,"wings_wm.erl"},{line,713}]}]
EDIT:
The problem isnt related to invalid selections but to Rename command in SG window.
Create a cube
Select all its faces and create a X group
Try to rename that group
Wings crashes
__________________________________
www.youtube.com/wings3dchannel
http://www.facebook.com/wings3dchannel
www.youtube.com/wings3dchannel
http://www.facebook.com/wings3dchannel