Wings 3D Development Forum
Saved view window - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: Saved view window (/showthread.php?tid=736)



Saved view window - Stem - 05-31-2014

Hello,

I have the "Saved Views" window open, using RMB to add/delete views. If I delete a current view, I find that if I at any later time RMB in the "Saved Views" window, Wings crash and exit.

Windows 7 X64
Wings 1.53 (same in 1.52)
------------------------------------------

Dump written 2014-5-31_14-10
Version: 1.5.3
Window: {plugin,saved_views}
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wpc_views_win,views_menu,[none],[{file,"wpc_views_win.erl"},{line,203}]},
{wpc_views_win,do_menu,3,[{file,"wpc_views_win.erl"},{line,190}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,825}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,698}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,612}]},
{wings,init,1,[{file,"wings.erl"},{line,154}]}]


RE: Saved view window - micheus - 05-31-2014

(05-31-2014, 01:16 PM)Stem Wrote: I have the "Saved Views" window open, using RMB to add/delete views. If I delete a current view, I find that if I at any later time RMB in the "Saved Views" window, Wings crash and exit.
Thanks for report it Stem.

After making some tests I found that it's happening only when the current (selected) view is the first one in the list. In this case, no other saved view is becoming selected.

So, as a workaround, if you need to save a new one and there is selected item in the Saved View window just move the mouse over any item and use the RMB without any crash.
There is no problem/crash if the windows was or became empty.


RE: Saved view window - Stem - 05-31-2014

Hi micheus,

I had setup some hotkeys, but your workaround is better for me. Thank you.

I also downloaded your plugins "Absolute move" and "Absolute Rotate", I am already finding them very useful. Many thanks for taking the time to create those.


RE: Saved view window - micheus - 06-01-2014

Here is the file wpc_views_win.beam for replacement.

The File->Install Plugin can be used. It's only necessary to restart Wings3d.


RE: Saved view window - Stem - 06-01-2014

Hi micheus,

I was not expecting you to release a fix, excellent, many thanks.