Ignore:
Timestamp:
Dec 21, 2014, 6:40:03 PM (5 years ago)
Author:
ldelgass
Message:

Merge some fixes from release branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/FlowCmd.cpp

    r4885 r4895  
    200200        }
    201201    } else if ((length > 10) && (strncmp(bytes, "unirect2d ", 10) == 0)) {
    202         unirect = new Unirect3d(nComponents);
    203         Unirect2d *u2dPtr;
    204         u2dPtr = new Unirect2d(nComponents);
     202        Unirect2d *u2dPtr = new Unirect2d(nComponents);
    205203        if (u2dPtr->parseBuffer(interp, bytes, length) != TCL_OK) {
    206             delete unirect;
    207204            delete u2dPtr;
    208205            return TCL_ERROR;
    209206        }
     207        unirect = new Unirect3d(nComponents);
    210208        unirect->convert(u2dPtr);
    211209        delete u2dPtr;
Note: See TracChangeset for help on using the changeset viewer.