/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2639 by schoenebeck, Mon Jun 16 13:22:50 2014 UTC revision 2640 by schoenebeck, Mon Jun 16 14:54:06 2014 UTC
# Line 3673  namespace { Line 3673  namespace {
3673              throw gig::Exception("No dimension with provided old dimension type exists on this region");              throw gig::Exception("No dimension with provided old dimension type exists on this region");
3674          if (newType == dimension_samplechannel && def->zones != 2)          if (newType == dimension_samplechannel && def->zones != 2)
3675              throw gig::Exception("Cannot change to dimension type 'sample channel', because existing dimension does not have 2 zones");              throw gig::Exception("Cannot change to dimension type 'sample channel', because existing dimension does not have 2 zones");
3676            if (GetDimensionDefinition(newType))
3677                throw gig::Exception("There is already a dimension with requested new dimension type on this region");
3678            def->dimension  = newType;
3679          def->split_type = __resolveSplitType(newType);          def->split_type = __resolveSplitType(newType);
3680      }      }
3681    

Legend:
Removed from v.2639  
changed lines
  Added in v.2640

  ViewVC Help
Powered by ViewVC