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 |
|
|