Changeset a874142 in git


Ignore:
Timestamp:
24/01/14 05:09:06 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
c001c40
Parents:
05499f3
Message:

src/gfxcore.cc: Don't crash with assertion failure when showing
passages for a cave with no vertical extent. Reported by Jonny
Prouty.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r05499f3 ra874142  
     1Fri Jan 24 05:08:19 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * src/gfxcore.cc: Don't crash with assertion failure when showing
     4          passages for a cave with no vertical extent.  Reported by Jonny
     5          Prouty.
     6
    17Fri Jan 24 05:07:34 GMT 2014  Olly Betts <olly@survex.com>
    28
  • src/gfxcore.cc

    r05499f3 ra874142  
    22572257    // tubes, so just clamp the value to 0.
    22582258    if (z <= 0) return 0;
    2259     assert(z_ext > 0.0);
    22602259    // We seem to get rounding differences causing z to sometimes exceed z_ext
    22612260    // by a small amount here (see: http://trac.survex.com/ticket/26) and it
Note: See TracChangeset for help on using the changeset viewer.