Changeset 424d3fe


Ignore:
Timestamp:
Apr 22, 2010, 3:03:42 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
f07455
Parents:
447896
Message:

BUGFIX of Tesselation::FindStartingTriangle() - second Point Temporary not initialised to NULL.

  • this caused a segfault with tesselating cluster with radius 1., as the second point added was not present actually.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/tesselation.cpp

    r447896 r424d3fe  
    22422242    ShortestAngle = 999999.; // This will contain the angle, which will be always positive (when looking for second point), when looking for third point this will be the quadrant.
    22432243
     2244    Temporary = NULL;
    22442245    FindSecondPointForTesselation(BaseLine->endpoints[0]->node, NormalVector, Temporary, &ShortestAngle, RADIUS, LC); // we give same point as next candidate as its bonds are looked into in find_second_...
    22452246    if (Temporary == NULL) {
Note: See TracChangeset for help on using the changeset viewer.