Wings 3D Development Forum
[fixed] UV - vertex / tighten - 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: [fixed] UV - vertex / tighten (/showthread.php?tid=2720)



[fixed] UV - vertex / tighten - Hank - 11-30-2018

Hi there,

Steps:

1. add any object
2. select face + uv mapping
3. do uv + unfold
4. for uv window select any vertex + tighten

[UV] vertex / tighten is causing crash_dump:

Dump written 2018-11-30_12-46
Version: 2.1.7
OS: Windows 8 (build 9200), 64-bit edition
GPU: Intel | Intel® HD Graphics 520
Window: {autouv,68}
Reason: function_clause

Short stack trace:
[{wings_drag,translate_fun,2,
[{file,"c:/Users/familjen/src/wings/src/wings_drag.erl"},
{line,172}]},
{wings_drag,fold_1,3,
[{file,"c:/Users/familjen/src/wings/src/wings_drag.erl"},
{line,205}]},
{wings_drag,fold,4,
[{file,"c:/Users/familjen/src/wings/src/wings_drag.erl"},
{line,118}]},
{wpc_autouv,handle_command,2,
[{file,"c:/Users/familjen/src/wings/plugins_src/autouv/wpc_autouv.erl"},
{line,785}]},
{wings_wm,handle_event,3,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,972}]},
{wings_wm,send_event,2,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,939}]},
{wings_wm,do_dispatch,2,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,840}]},
{wings_wm,dispatch_event,1,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,747}]},
{wings_wm,get_and_dispatch,0,
[{file,"c:/Users/familjen/src/wings/src/wings_wm.erl"},{line,651}]},
{wings,init_part2,2,
[{file,"f:/unixlike/src/wings/src/wings.erl"},{line,104}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]

BR, Hank


RE: [UV] vertex / tighten - micheus - 11-30-2018

I think I already saw this kind of message for the wings_drag module before.

Thanks for report it. I'm going to take a look on it soon.
------
[EDIT]
Yes. It's already fixed in the next version.

p.s. Hank, I edited your post and removed the Long stack trace. The post got too long and usually it's not helpful - it's better to attach the dump file when necessary.
The most important was you provide a way to reproduce it. Smile


RE: [fixed] UV - vertex / tighten - Hank - 12-07-2018

Hi Micheus,

I've just started to work with 2.2.1 and the problem still exist:
(this time I tested with face -> tighten)

Dump written 2018-12-7_17-52
Version: 2.2.1
OS: Linux 4.15.0-20-generic x86_64
GPU: NVIDIA Corporation | GeForce GTX 650 Ti/PCIe/SSE2
Window: {autouv,1}
Reason: function_clause

Short stack trace:
[{wings_drag,translate_fun,2,[{file,"wings_drag.erl"},{line,178}]},
{wings_drag,fold_1,3,[{file,"wings_drag.erl"},{line,211}]},
{wings_drag,fold,4,[{file,"wings_drag.erl"},{line,124}]},
{wpc_autouv,handle_command,2,[{file,"wpc_autouv.erl"},{line,785}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,981}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,948}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,849}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,758}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,657}]},
{wings,init_part2,2,[{file,"wings.erl"},{line,106}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]

Long stack trace:
[{wings_drag,translate_fun,

BR, Hank


RE: [fixed] UV - vertex / tighten - micheus - 12-07-2018

Ok. Let's take a look on that again. :/


RE: [fixed] UV - vertex / tighten - micheus - 12-08-2018

(12-07-2018, 04:57 PM)Hank Wrote: I've just started to work with 2.2.1 and the problem still exist:
(this time I tested with face -> tighten)
Hank, there is no Tighten option for Face, but for Vertex mode. Smile

I checked again in the official release and it's working for the way I tested.


Can you provide me any other information?


RE: [fixed] UV - vertex / tighten - Hank - 12-08-2018

I think I have some solution to share my recordings - feel free to check it via Dropbox.

tighten issue

BTW recording was made on Linux.

+ part of the issue log:

Dump written 2018-12-8_17-52
Version: 2.2.1
OS: Linux 4.15.0-20-generic x86_64
GPU: NVIDIA Corporation | GeForce GTX 650 Ti/PCIe/SSE2
Window: {autouv,1}
Reason: function_clause

Short stack trace:
[{wings_drag,translate_fun,2,[{file,"wings_drag.erl"},{line,178}]},
{wings_drag,fold_1,3,[{file,"wings_drag.erl"},{line,211}]},
{wings_drag,fold,4,[{file,"wings_drag.erl"},{line,124}]},
{wpc_autouv,handle_command,2,[{file,"wpc_autouv.erl"},{line,785}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,981}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,948}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,849}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,758}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,657}]},
{wings,init_part2,2,[{file,"wings.erl"},{line,106}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]

BR, Hank


RE: [fixed] UV - vertex / tighten - micheus - 12-08-2018

Thanks. I already checked it and found it happens in a single case: only one face (or it's vertex) select.
I replied your PM. Smile


RE: [fixed] UV - vertex / tighten - micheus - 12-10-2018

A fix is available in Fixes for v2.2.1 (Patches)