KenzieMac130 / ogre-procedural

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

hanging on caps building #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open Tests.h from the unit tests
2. comment line 426
(Test_SVGShapeImporter)

from: e.setCapped(false);
to:   //e.setCapped(false);

3. run the test

What is the expected output? What do you see instead?
it should run, instead it hangs indefinitely

i guess when it tries to build the caps, some endless loop is triggered

Original issue reported on code.google.com by RoR...@googlemail.com on 3 Aug 2011 at 4:16

GoogleCodeExporter commented 8 years ago
The tests fails in SVG import, but is due to the triangulator.
So a version without svg importing functionnality (just replacing import() by 
addPoint()) should be put in Test_ShapeCrash, branch v0-2.

Original comment by michael.broutin@gmail.com on 3 Aug 2011 at 4:36

GoogleCodeExporter commented 8 years ago
added: 
http://code.google.com/p/ogre-procedural/source/detail?r=d47e47d19a162641b3d454b
1a35c71436f0e5b26&name=v0-2#

still hangs in your code, suspicious while and for loops around there ;)

Original comment by RoR...@googlemail.com on 3 Aug 2011 at 6:52

GoogleCodeExporter commented 8 years ago
Fixed the crashing, but the result is still wrong.
It seems that too many triangles are removed during the 1st phase..

Original comment by michael.broutin@gmail.com on 10 Aug 2011 at 6:33

GoogleCodeExporter commented 8 years ago

Original comment by michael.broutin@gmail.com on 10 Aug 2011 at 9:26