Changeset 5390 for branches/1.3


Ignore:
Timestamp:
May 1, 2015, 10:18:25 PM (5 years ago)
Author:
ldelgass
Message:

merge r5389 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

    • Property svn:mergeinfo changed
      /trunkmerged: 5389
  • branches/1.3/gui/src/RpDxToVtk.c

    r5309 r5390  
    1 
     1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
    22/*
    33 * ----------------------------------------------------------------------
     
    602602        if (nPoints > 1 && ((dx == dy) && (dx == dz) && (dx == 0.0))) {
    603603            fprintf(stderr, "Invalid deltas in DX file: %g %g %g\n", dx, dy, dz);
     604            return TCL_ERROR;
     605        }
     606        if (dx < 0.0 || dy < 0.0 || dz < 0.0) {
     607            fprintf(stderr, "Negative deltas not supported in DX file: %g %g %g\n", dx, dy, dz);
    604608            return TCL_ERROR;
    605609        }
Note: See TracChangeset for help on using the changeset viewer.