Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Saved view window
05-31-2014, 01:16 PM
Post: #1
Saved view window
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}]}]
Reply
05-31-2014, 04:02 PM
Post: #2
RE: Saved view window
(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.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
05-31-2014, 10:58 PM
Post: #3
RE: Saved view window
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.
Reply
06-01-2014, 07:46 PM
Post: #4
RE: Saved view window
Here is the file wpc_views_win.beam for replacement.

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

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
06-01-2014, 09:28 PM
Post: #5
RE: Saved view window
Hi micheus,

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


Forum Jump:


User(s) browsing this thread: 1 Guest(s)