Changeset 683
- Timestamp:
- 03/29/08 15:02:16 (5 months ago)
- Files:
-
- 1 modified
-
trunk/src/placement_finder.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/placement_finder.cpp
r639 r683 562 562 563 563 double segment_length = path_distances[index]; 564 if (segment_length == 0) { 565 // Not allowed to place across on 0 length segments or discontinuities 566 return std::auto_ptr<placement_element>(NULL); 567 } 564 568 565 569 current_placement->starting_x = old_x + dx*distance/segment_length; … … 585 589 586 590 //Coordinates this character will start at 591 if (segment_length == 0) { 592 // Not allowed to place across on 0 length segments or discontinuities 593 return std::auto_ptr<placement_element>(NULL); 594 } 587 595 double start_x = old_x + dx*distance/segment_length; 588 596 double start_y = old_y + dy*distance/segment_length;
