Wings 3D Development Forum
EDGE->Set Constrain->Percentage->PickAxis = Crash - 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: EDGE->Set Constrain->Percentage->PickAxis = Crash (/showthread.php?tid=718)



EDGE->Set Constrain->Percentage->PickAxis = Crash - Arg Arg - 05-14-2014

Try to get the the SCALE-PERCENTAGE to the PREFERENCE CONSTRAIN SET

EDGE Mode
choose: Set Constrain
choose: Percentage
choose: Pick Axis

Result:
Crash Sad


RE: EDGE->Set Constrain->Percentage->PickAxis = Crash - tkbd - 06-11-2014

(05-14-2014, 10:15 PM)Arg Arg Wrote: Try to get the the SCALE-PERCENTAGE to the PREFERENCE CONSTRAIN SET

EDGE Mode
choose: Set Constrain
choose: Percentage
choose: Pick Axis

Result:
Crash Sad


Same error occured on OSX 10.9 with Arg Arg's method.
and a crush dump is here
(Edit: The case that simple a cube, It will freeze if you deal with a lot of data. Maybe the crush log is increase to several MB).
Please check someoneSmile.

Code:
Dump written 2014-6-8_13-47
Version: 1.5.3
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wpc_constraints,'-command/2-fun-6-',
     [{0.0,0.0,1.0},
      {st,{1,
           {2,
            {we,2,0,"Cube2",
                {array,12,100,undefined,
                    {{{edge,0,1,5,1,3,1,2,4},
                      {edge,0,2,3,5,6,2,0,5},
                      {edge,0,4,1,3,8,0,1,9},
                      {edge,1,3,5,2,5,0,4,7},
                      {edge,1,5,2,1,10,3,0,8},
                      {edge,2,3,0,5,7,6,1,3},
                      {edge,2,6,3,0,9,1,5,11},
                      {edge,3,7,0,2,11,5,3,10},
                      {edge,4,5,1,4,4,2,9,10},
                      {edge,4,6,4,3,11,8,2,6}},
                     {{edge,5,7,2,4,7,4,8,11},
                      {edge,6,7,4,0,10,9,6,7},
                      undefined,undefined,undefined,undefined,undefined,
                      undefined,undefined,undefined},
                     10,10,10,10,10,10,10,10,10}},
                none,none,
                {6,
                 {3,1,
                  {1,0,{0,5,nil,nil},{2,3,nil,nil}},
                  {5,0,{4,8,nil,nil},nil}}},
                {0,nil},
                {array,8,10,undefined,{0,0,1,3,2,4,6,7,undefined,undefined}},
                {array,8,10,undefined,
                    {{-1.0,-1.0,-1.0},
                     {-1.0,-1.0,1.0},
                     {-1.0,1.0,-1.0},
                     {-1.0,1.0,1.0},
                     {1.0,-1.0,-1.0},
                     {1.0,-1.0,1.0},
                     {1.0,1.0,-1.0},
                     {1.0,1.0,1.0},
                     undefined,undefined}},
                {1,{wings_shape,no_folder,nil,nil}},
                default,12,none,none,[]},
            nil,nil}},
          edge,false,
          [{2,{4,{7,{6,{5,nil,nil},nil},{11,nil,nil}}}}],
          {0,nil},
          none,
          {1,
           {default,
               [{maps,[]},
                {opengl,
                    [{ambient,
                         {0.7898538076923077,0.8133333333333334,
                          0.6940444444444445,1.0}},
                     {diffuse,
                         {0.7898538076923077,0.8133333333333334,
                          0.6940444444444445,1.0}},
                     {emission,{0.0,0.0,0.0,1.0}},
                     {shininess,0.0},
                     {specular,{0.0,0.0,0.0,1.0}},
                     {vertex_colors,set}]}],
               nil,nil}},
          [{1.0,1.0,1.0},
           {0.8,1.0,0.8},
           {0.8,1.0,1.0},
           {0.8,0.8,1.0},
           {0.9,1.0,0.8},
           {1.0,0.8,0.5},
           {1.0,0.8,0.8},
           {0.0,0.0,0.0},
           {0.63922,0.4,0.0},
           {0.8,0.6,0.0},
           {1.0,0.8,0.0},
           {1.0,1.0,0.00392157},
           {0.996078,1.0,0.6},
           {1.0,0.858824,0.615686},
           {1.0,0.8,0.4},
           {1.0,0.6,0.23922},
           {1.0,0.47451,0.290196},
           {1.0,0.2,0.0},
           {0.63922,0.0,0.0},
           {0.2,0.2,0.43922},
           {0.0,0.2,0.6},
           {0.0,0.4,0.796078},
           {0.0,0.59804,0.839216},
           {0.0,0.6,1.0},
           {0.243137,0.6,0.87451},
           {0.6,0.83922,1.0},
           {0.79804,0.886275,1.0},
           {0.87451,0.996078,1.0},
           {0.996078,0.8,1.0},
           {0.8,0.8,1.0},
           {0.63922,0.6,1.0},
           {0.43922,0.4,0.8},
           {0.6,0.6,0.83922},
           {0.4,0.4,0.63922},
           {0.0,0.4,0.0},
           {0.0,0.6,0.0},
           {0.43922,0.796078,0.2},
           {0.63922,0.996078,0.4},
           {0.83922,1.0,0.8},
           none,none,none,none,none,none,none,none,none,none,none,none,none,
           none,none,none,none,none,none,none,none,none,none,none,none,none,
           none,none,none,none,none,none,none,none,none,none,none,none,none,
           none,none,none,none,none,none,none,none,none,none,none,none,none,
           none,none,none,none,none],
          undefined,false,3,none,none,
          {0,{}},
          {1,
           {wings_shape,
               {no_folder,[{no_folder,{open,{1,{2,nil,nil}}}}]},
               nil,nil}},
          {edge,{set_constraint,{scale,{'ASK',none}}}},
          {0.0,0.0,1.0},
          none,
          {ignore,ignore},
          {edge,{set_constraint,{scale,{'ASK',none}}}},
          {[{est,
                [{we,2,0,"Cube2",
                     {array,12,100,undefined,
                         {{{edge,0,1,5,1,3,1,2,4},
                           {edge,0,2,3,5,6,2,0,5},
                           {edge,0,4,1,3,8,0,1,9},
                           {edge,1,3,5,2,5,0,4,7},
                           {edge,1,5,2,1,10,3,0,8},
                           {edge,2,3,0,5,7,6,1,3},
                           {edge,2,6,3,0,9,1,5,11},
                           {edge,3,7,0,2,11,5,3,10},
                           {edge,4,5,1,4,4,2,9,10},
                           {edge,4,6,4,3,11,8,2,6}},
                          {{edge,5,7,2,4,7,4,8,11},
                           {edge,6,7,4,0,10,9,6,7},
                           undefined,undefined,undefined,undefined,undefined,
                           undefined,undefined,undefined},
                          10,10,10,10,10,10,10,10,10}},
                     none,none,undefined,
                     {0,nil},
                     undefined,
                     {array,8,10,undefined,
                         {{-1.0,-1.0,-1.0},
                          {-1.0,-1.0,1.0},
                          {-1.0,1.0,-1.0},
                          {-1.0,1.0,1.0},
                          {1.0,-1.0,-1.0},
                          {1.0,-1.0,1.0},
                          {1.0,1.0,-1.0},
                          {1.0,1.0,1.0},
                          undefined,undefined}},
                     {1,{wings_shape,no_folder,nil,nil}},
                     default,12,none,none,[]}],
                face,
                [{2,{1,{0,nil,nil}}}],
                3,
                {1,
                 {default,
                     [{maps,[]},
                      {opengl,
                          [{ambient,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {diffuse,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {emission,{0.0,0.0,0.0,1.0}},
                           {shininess,0.0},
                           {specular,{0.0,0.0,0.0,1.0}},
                           {vertex_colors,set}]}],
                     nil,nil}},
                {1,
                 {wings_shape,
                     {no_folder,[{no_folder,{open,{1,{2,nil,nil}}}}]},
                     nil,nil}},
                {shape,
                    {ncube,
                        [{nres,1},
                         {xcube,2.0},
                         {ycube,2.0},
                         {zcube,2.0},
                         {spherizeflag,false}]}},
                undefined},
            {est,[],face,[],2,
                {1,
                 {default,
                     [{maps,[]},
                      {opengl,
                          [{ambient,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {diffuse,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {emission,{0.0,0.0,0.0,1.0}},
                           {shininess,0.0},
                           {specular,{0.0,0.0,0.0,1.0}},
                           {vertex_colors,set}]}],
                     nil,nil}},
                {1,
                 {wings_shape,
                     {no_folder,[{no_folder,{open,{0,nil}}}]},
                     nil,nil}},
                {face,dissolve},
                undefined},
            {est,
                [{we,1,0,"tetrahedron1",
                     {array,12,100,undefined,
                         {{{edge,0,1,6,0,9,7,1,3},
                           {edge,0,2,0,3,3,0,2,5},
                           {edge,0,3,3,10,5,1,7,11},
                           {edge,1,2,1,0,5,4,0,1},
                           {edge,1,3,8,1,11,9,3,5},
                           {edge,2,3,1,3,4,3,1,2},
                           {edge,8,6,6,2,7,9,8,10},
                           {edge,0,6,10,6,10,2,0,6},
                           {edge,10,8,8,2,9,11,10,6},
                           {edge,1,8,6,8,6,0,4,8}},
                          {{edge,6,10,10,2,11,7,6,8},
                           {edge,3,10,8,10,8,4,2,10},
                           undefined,undefined,undefined,undefined,undefined,
                           undefined,undefined,undefined},
                          10,10,10,10,10,10,10,10,10}},
                     none,none,undefined,
                     {0,nil},
                     undefined,
                     {array,11,100,undefined,
                         {{{0.0,1.0886621079036347,0.0},
                           {0.0,-0.5443310539518174,1.1547005383792515},
                           {-1.0,-0.5443310539518174,-0.5773502691896258},
                           {1.0,-0.5443310539518174,-0.5773502691896258},
                           undefined,undefined,
                           {2.9458141461328298,2.291285697086627,
                            1.700766590252397},
                           undefined,
                           {2.9458141461328298,0.6582925352311748,
                            2.8554671286316484},
                           undefined},
                          {{3.9458141461328298,0.6582925352311748,
                            1.1234163210627712},
                           undefined,undefined,undefined,undefined,undefined,
                           undefined,undefined,undefined,undefined},
                          10,10,10,10,10,10,10,10,10}},
                     {1,{wings_shape,no_folder,nil,nil}},
                     default,12,none,none,[]}],
                face,
                [{1,
                  {7,
                   {3,
                    {1,{0,nil,nil},{2,nil,nil}},
                    {8,{6,nil,nil},{10,nil,nil}}}}}],
                2,
                {1,
                 {default,
                     [{maps,[]},
                      {opengl,
                          [{ambient,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {diffuse,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {emission,{0.0,0.0,0.0,1.0}},
                           {shininess,0.0},
                           {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}},
                {face,{extrude,{region,normal}}},
                undefined},
            {est,
                [{we,1,0,"tetrahedron1",
                     {array,6,10,undefined,
                         {{edge,0,1,2,0,4,2,1,3},
                          {edge,0,2,0,3,3,0,2,5},
                          {edge,0,3,3,2,5,1,0,4},
                          {edge,1,2,1,0,5,4,0,1},
                          {edge,1,3,2,1,2,0,3,5},
                          {edge,2,3,1,3,4,3,1,2},
                          undefined,undefined,undefined,undefined}},
                     none,none,undefined,
                     {0,nil},
                     undefined,
                     {array,4,10,undefined,
                         {{0.0,1.0886621079036347,0.0},
                          {0.0,-0.5443310539518174,1.1547005383792515},
                          {-1.0,-0.5443310539518174,-0.5773502691896258},
                          {1.0,-0.5443310539518174,-0.5773502691896258},
                          undefined,undefined,undefined,undefined,undefined,
                          undefined}},
                     {1,{wings_shape,no_folder,nil,nil}},
                     default,6,none,none,[]}],
                face,
                [{1,{1,{2,nil,nil}}}],
                2,
                {1,
                 {default,
                     [{maps,[]},
                      {opengl,
                          [{ambient,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {diffuse,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {emission,{0.0,0.0,0.0,1.0}},
                           {shininess,0.0},
                           {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}},
                {select,deselect},
                undefined},
            {est,
                [{we,1,0,"tetrahedron1",
                     {array,6,10,undefined,
                         {{edge,0,1,2,0,4,2,1,3},
                          {edge,0,2,0,3,3,0,2,5},
                          {edge,0,3,3,2,5,1,0,4},
                          {edge,1,2,1,0,5,4,0,1},
                          {edge,1,3,2,1,2,0,3,5},
                          {edge,2,3,1,3,4,3,1,2},
                          undefined,undefined,undefined,undefined}},
                     none,none,undefined,
                     {0,nil},
                     undefined,
                     {array,4,10,undefined,
                         {{0.0,1.0886621079036347,0.0},
                          {0.0,-0.5443310539518174,1.1547005383792515},
                          {-1.0,-0.5443310539518174,-0.5773502691896258},
                          {1.0,-0.5443310539518174,-0.5773502691896258},
                          undefined,undefined,undefined,undefined,undefined,
                          undefined}},
                     {1,{wings_shape,no_folder,nil,nil}},
                     default,6,none,none,[]}],
                edge,[],2,
                {1,
                 {default,
                     [{maps,[]},
                      {opengl,
                          [{ambient,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {diffuse,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {emission,{0.0,0.0,0.0,1.0}},
                           {shininess,0.0},
                           {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}},
                {shape,{tetrahedron,[2.0]}},
                undefined}],
           [{est,[],edge,[],1,
                {1,
                 {default,
                     [{maps,[]},
                      {opengl,
                          [{ambient,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {diffuse,
                               {0.7898538076923077,0.8133333333333334,
                                0.6940444444444445,1.0}},
                           {emission,{0.0,0.0,0.0,1.0}},
                           {shininess,0.0},
                           {specular,{0.0,0.0,0.0,1.0}},
                           {vertex_colors,set}]}],
                     nil,nil}},
                {1,{wings_shape,{no_folder,[]},nil,nil}},
                {file,confirmed_new},
                undefined}]},
          true,[]}],
     [{file,"wpc_constraints.erl"},{line,351}]},
{wings,handle_event_3,2,[{file,"wings.erl"},{line,397}]},
{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}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
{wings_wm,'-redraw_all/0-fun-1-',1,[{file,"wings_wm.erl"},{line,713}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]}]



RE: EDGE->Set Constrain->Percentage->PickAxis = Crash - micheus - 06-11-2014

tkbd, thanks for the confirmation and dump file. I'll take a look on it.


Fixed - micheus - 08-08-2014

I found the problem and fixed it. Again, thank you guys. Smile

The file for replacement is this: wpc_constraints.tar (use the Install Plugin in the File menu option in order to replace it and restart Wings3d)