11-24-2020, 09:33 AM
micheus, Thank you for fix it!,
and now I have the plugin test at continuous.
I'm enable understanding how to use this plugin little by little.
And I found 4 bugs.
*Use "Convert To..." command and Wings3D crash.
Note: ONLY This error was got in previous version.(2020/11/22)
So ignore it if you already fixed this bug.
* Tried to rename a curve object in Curve Graph window.
( I was typing to something non-latin string for rename. )
A crash dialog appared, but a part of the strings were entered successfully.
*Dissolve with selected all point in a curve, and CurveTool geometry window is crash.
I tried to select and delete all the points that make up the curve in vertex selection mode.
Almost the same log, but different only at the end of the stack.
It also occurred with another curve type with Line949.
*It is occuerd that trying move a curve point by Tweak move operation.
I pressed [F1]or[F2]or[F3] key and Drag a point,then Wings3D app were Crash absolutely.
Best regards!!
and now I have the plugin test at continuous.
I'm enable understanding how to use this plugin little by little.
And I found 4 bugs.
*Use "Convert To..." command and Wings3D crash.
Note: ONLY This error was got in previous version.(2020/11/22)
So ignore it if you already fixed this bug.
Code:
Dump written 2020-11-22_8-22
Version: 2.2.6.1
OS: macOS Mojave Version 10.14.6 (Build 18G6042)
GPU: Intel Inc. | Intel Iris OpenGL Engine
Window: {plugin,{curves,geom}}
Reason: undef
Short stack trace:
[{curve_misc,common_msg,1,[]},
{wpc_curves,raw_command,4,[{file,"wpc_curves.erl"},{line,866}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]
Long stack trace:
[{curve_misc,common_msg,[curve_required],[]},
{wpc_curves,raw_command,4,[{file,"wpc_curves.erl"},{line,866}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]
* Tried to rename a curve object in Curve Graph window.
( I was typing to something non-latin string for rename. )
A crash dialog appared, but a part of the strings were entered successfully.
Code:
Dump written 2020-11-24_7-14
Version: 2.2.6.1
OS: macOS Mojave Version 10.14.6 (Build 18G6042)
GPU: Intel Inc. | Intel Iris OpenGL Engine
Window: geom
Reason: function_clause
Short stack trace:
[{wings,command_1,2,[{file,"wings.erl"},{line,765}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]
Long stack trace:
[{wings,command_1,
[keep,
{st,{1,
{1,
{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,
{{edge,0,1,0,1,2,1,1,2},
{edge,0,5,1,0,5,0,0,5},
{edge,1,2,0,1,3,0,0,3},
{edge,2,3,0,1,4,2,2,4},
{edge,3,4,0,1,5,3,3,5},
{edge,4,5,0,1,1,4,4,1},
undefined,undefined,undefined,undefined}},
none,none,
{2,{1,0,{0,0,nil,nil},nil}},
{6,{3,{1,{0,nil,nil},{2,nil,nil}},{5,{4,nil,nil},nil}}},
{array,6,10,undefined,
{0,0,2,3,4,1,undefined,undefined,undefined,undefined}},
{array,6,10,undefined,
{{3.1951882563705594,0.7289760221312784,
1.0860839596190548},
{2.2376609206042195,0.7289760221312784,
-1.947123420708861},
{1.4754711227138262,0.7289760221312784,
-2.5310494698589068},
{-3.0935572162108813,0.6499273083133117,
-1.6235046519223353},
{-2.8768151656790706,0.5711513619447366,
0.3092990410527504},
{-2.702047464722031,0.7289760221312784,2.128791859620086},
undefined,undefined,undefined,undefined}},
{1,{wings_shape,no_folder,nil,nil}},
default,6,none,none,[],[]},
nil,nil}},
body,false,[],
{0,nil},
none,
{1,
{default,
[{maps,[]},
{opengl,
[{diffuse,{1.0,1.0,1.0,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{metallic,0.1},
{roughness,0.8},
{vertex_colors,set}]}],
nil,nil}},
[],undefined,false,2,none,none,
{0,{}},
{2,
{wings_shape,
{no_folder,[{no_folder,{open,{0,nil}}}]},
nil,
{wpc_curves,
{cst,
{1,
{1,
{curve,1,linear,"Linear1",
{array,30,100,undefined,
{{undefined,undefined,...},10,{...},...}},
{array,6,10,undefined,{{segment,...},{...},...}},
6,true,false,minimum,
[{cp,...},{...}|...],
18.569762457376555,{...},...},
nil,nil}},
{1,
{1,
{object,1,sweep,"Sweep1",
#{curvature => {0.0,0.0},
curveid => -1,diameter => 0.2,
falloff => {100.0,100.0},
flip_nr => false,rotate => 0.0,
scale => {true,100.0,100.0},...},
#{fs =>
[{0,[6,7|...]},
{1,[7|...]},
{2,[...]},
{3,...},
{...}|...],
he => [],
uv =>
[[{0.479479272479666,0.5787034745320987},
{0.48631603285735975,0.5787034745320987},
{0.4869970434958127,...},
{...}],
[{0.48631603285735975,0.5787034745320987},
{0.4931527932350535,...},
{...}|...],
[{0.4931527932350535,...},{...}|...],
[{...}|...],
[...]|...],
vs => {array,36,100,undefined,{...}}},
[1],
[],0},
nil,nil}},
body,
[{1,{2,{5,{0,nil,nil},nil}}}],
2,2,none,72,73,none,none,
{one,{1606,169639,486224}},
none,none,none,none,
{{...},...},
none,...},
nil,nil}}},
{face,{move,normal}},
none,
[-0.8177777777777777,-2.568],
{ignore,ignore},
keep,
{[{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,
{{edge,0,1,0,1,...},
{edge,0,5,1,...},
{edge,1,2,...},
{edge,2,...},
{edge,...},
{...},...}},
none,none,undefined,
{6,{3,{1,{0,...},{...}},{5,{...},...}}},
undefined,
{array,6,10,undefined,{...}},
{1,{wings_shape,no_folder,...}},
default,6,none,none,...}],
body,[],2,
{1,
{default,
[{maps,[]},
{opengl,
[{diffuse,{1.0,1.0,...}},
{emission,{0.0,...}},
{metallic,0.1},
{roughness,...},
{...}]}],
nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,{open,{0,...}}}]},
nil,
{wpc_curves,{cst,{1,{...}},{1,...},body,...},nil,nil}}},
{select,body},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,
{{edge,0,1,0,...},
{edge,0,5,...},
{edge,1,...},
{edge,...},
{...},...}},
none,none,undefined,
{6,{3,{1,{...},...},{5,...}}},
undefined,
{array,6,10,undefined,...},
{1,{wings_shape,...}},
default,6,none,...}],
body,[],2,
{1,
{default,
[{maps,[]},
{opengl,
[{diffuse,{1.0,...}},
{emission,{...}},
{metallic,...},
{...}|...]}],
nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,{open,{...}}}]},
nil,
{wpc_curves,{cst,{1,...},{...},...},nil,nil}}},
{select,body},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,
{{edge,0,1,...},{edge,0,...},{edge,...},{...},...}},
none,none,undefined,
{6,{3,{1,...},{...}}},
undefined,
{array,6,10,...},
{1,{...}},
default,6,...}],
body,[],2,
{1,
{default,
[{maps,[]},
{opengl,[{diffuse,{...}},{emission,...},{...}|...]}],
nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,{open,...}}]},
nil,
{wpc_curves,{cst,{...},...},nil,nil}}},
{select,body},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,
{{edge,0,...},{edge,...},{...},...}},
none,none,undefined,
{6,{3,{...},...}},
undefined,
{array,6,...},
{1,...},
default,...}],
face,[],2,
{1,
{default,
[{maps,[]},{opengl,[{diffuse,...},{...}|...]}],
nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,{...}}]},
nil,
{wpc_curves,{cst,...},nil,...}}},
{select,deselect},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,{{edge,...},{...},...}},
none,none,undefined,
{6,{3,...}},
undefined,
{array,...},
{...},...}],
face,[],2,
{1,{default,[{maps,[]},{opengl,[{...}|...]}],nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,...}]},
nil,
{wpc_curves,{...},...}}},
{select,deselect},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,{{...},...}},
none,none,undefined,
{6,{...}},
undefined,{...},...}],
face,[],2,
{1,{default,[{maps,[]},{opengl,[...]}],nil,nil}},
{2,{wings_shape,{no_folder,[{...}]},nil,{wpc_curves,...}}},
{face,{move,normal}},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,{...}},
none,none,undefined,
{6,...},
undefined,...}],
face,
[{1,{1,{0,nil,nil}}}],
2,
{1,{default,[{maps,[]},{opengl,...}],nil,nil}},
{2,{wings_shape,{no_folder,[...]},nil,{...}}},
{select,deselect},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,undefined,...},
none,none,undefined,{...},...}],
edge,[],2,
{1,{default,[{maps,...},{...}],nil,nil}},
{2,{wings_shape,{no_folder,...},nil,...}},
{select,deselect},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",
{array,6,10,...},
none,none,undefined,...}],
face,[],2,
{1,{default,[{...}|...],nil,...}},
{2,{wings_shape,{...},...}},
{select,deselect},
undefined},
{est,
[{we,1,0,"Linear1_polygon1",{array,6,...},none,none,...}],
body,[],2,
{1,{default,[...],...}},
{2,{wings_shape,...}},
{select,body},
undefined},
{est,[],body,[],1,
{1,{default,...}},
{2,{...}},
{select,...},
undefined},
{est,[],edge,[],1,{1,{...}},{2,...},{...},...},
{est,[],edge,[],1,{1,...},{...},...},
{est,[],edge,[],1,{...},...},
{est,[],edge,[],1,...},
{est,[],edge,[],...},
{est,[],edge,...},
{est,[],...},
{est,...},
{...}|...],
[{est,[],vertex,[],1,
{1,
{default,
[{maps,[]},
{opengl,
[{diffuse,{1.0,...}},
{emission,{...}},
{metallic,...},
{...}|...]}],
nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,{open,{...}}}]},
nil,
{wpc_curves,{cst,{1,...},{...},...},nil,nil}}},
{select,{edge_loop,edge_ring}},
undefined},
{est,[],vertex,[],1,
{1,
{default,
[{maps,[]},
{opengl,[{diffuse,{...}},{emission,...},{...}|...]}],
nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,{open,...}}]},
nil,
{wpc_curves,{cst,{...},...},nil,nil}}},
{select,{edge_loop,edge_ring}},
undefined},
{est,[],vertex,[],1,
{1,
{default,
[{maps,[]},{opengl,[{diffuse,...},{...}|...]}],
nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,{...}}]},
nil,
{wpc_curves,{cst,...},nil,...}}},
{select,{edge_loop,edge_ring}},
undefined},
{est,[],body,[],1,
{1,{default,[{maps,[]},{opengl,[{...}|...]}],nil,nil}},
{2,
{wings_shape,
{no_folder,[{no_folder,...}]},
nil,
{wpc_curves,{...},...}}},
{select,body},
undefined},
{est,[],body,[],1,
{1,{default,[{maps,[]},{opengl,[...]}],nil,nil}},
{2,{wings_shape,{no_folder,[{...}]},nil,{wpc_curves,...}}},
{select,body},
undefined},
{est,[],body,[],1,
{1,{default,[{maps,[]},{opengl,...}],nil,nil}},
{2,{wings_shape,{no_folder,[...]},nil,{...}}},
{select,body},
undefined},
{est,[],face,[],1,
{1,{default,[{maps,...},{...}],nil,nil}},
{2,{wings_shape,{no_folder,...},nil,...}},
{select,deselect},
undefined},
{est,[],face,[],1,
{1,{default,[{...}|...],nil,...}},
{2,{wings_shape,{...},...}},
{select,deselect},
undefined},
{est,[],vertex,[],1,
{1,{default,[...],...}},
{2,{wings_shape,...}},
{select,vertex},
undefined},
{est,[],face,[],1,
{1,{default,...}},
{2,{...}},
{select,...},
undefined},
{est,[],face,[],1,{1,{...}},{2,...},{...},...}]},
true,[]}],
[{file,"wings.erl"},{line,765}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]
Argument #2:
OBJECT 1: "Linear1_polygon1"
=======================
next_id=6
Face table
===========
0: edge=0
1: edge=0
Edge table
===========
0: vs=0 ve=1
left: face=0 pred=2 succ=1
right: face=1 pred=1 succ=2
1: vs=0 ve=5
left: face=1 pred=5 succ=0
right: face=0 pred=0 succ=5
2: vs=1 ve=2
left: face=0 pred=3 succ=0
right: face=1 pred=0 succ=3
3: vs=2 ve=3
left: face=0 pred=4 succ=2
right: face=1 pred=2 succ=4
4: vs=3 ve=4
left: face=0 pred=5 succ=3
right: face=1 pred=3 succ=5
5: vs=4 ve=5
left: face=0 pred=1 succ=4
right: face=1 pred=4 succ=1
*Dissolve with selected all point in a curve, and CurveTool geometry window is crash.
I tried to select and delete all the points that make up the curve in vertex selection mode.
Code:
Dump written 2020-11-24_7-39
Version: 2.2.6.1
OS: macOS Mojave Version 10.14.6 (Build 18G6042)
GPU: Intel Inc. | Intel Iris OpenGL Engine
Window: {plugin,{curves,geom}}
Reason: {case_clause,[]}
Stack trace:
[{curve_cmds,remove_from_stab,4,[{file,"curve_cmds.erl"},{[b]line,971[/b]}]},
{curve_cmds,'-dissolve_1/1-fun-1-',3,[{file,"curve_cmds.erl"},{line,909}]},
{curve_sel,fold_1,4,[{file,"curve_sel.erl"},{line,509}]},
{curve_cmds,dissolve_1,1,[{file,"curve_cmds.erl"},{line,939}]},
{curve_cmds,dissolve,1,[{file,"curve_cmds.erl"},{line,901}]},
{wpc_curves,raw_command,4,[{file,"wpc_curves.erl"},{line,866}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]
It also occurred with another curve type with Line949.
Code:
[{curve_cmds,remove_from_stab,4,[{file,"curve_cmds.erl"},{[b]line,949[/b]}]},
*It is occuerd that trying move a curve point by Tweak move operation.
I pressed [F1]or[F2]or[F3] key and Drag a point,then Wings3D app were Crash absolutely.
Code:
Dump written 2020-11-24_12-34
Version: 2.2.6.1
Window: [wings,wings,<0.88.0>]
Reason: {case_clause,{st,{4,
{1,
{we,1,0,"sphere1",
{array,240,1000,undefined,{{...},...}},
none,none,
{128,{64,...}},
{0,nil},
{array,...},
{...},...},
nil,
{2,
{we,2,0,"Sweep3",
{array,198,...},
{array,...},
{...},...},
nil,
{3,{we,3,0,...},nil,{4,...}}}}},
body,false,[],
{0,nil},
none,
{1,
{default,[{maps,[]},{opengl,[{...}|...]}],nil,nil}},
[],undefined,false,5,none,none,
{0,{}},
{2,...},
{...},...}}
Stack trace:
[{wings_wm,handle_response,3,[{file,"wings_wm.erl"},{line,1056}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]
Best regards!!