개정판 6ecd216e
fix relief size validation
Change-Id: I727a66fde18375cdda79fb0f82d633f1e9760d72
DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
1014 | 1014 |
for index in range(len(sizes) - 1): |
1015 | 1015 |
if sizes[index][2] != sizes[index + 1][1]: |
1016 | 1016 |
if type(sizes[index][0]) is not QEngineeringReducerItem and type(sizes[index + 1][0]) is not QEngineeringReducerItem \ |
1017 |
and (hasattr(sizes[index][0], 'iType') and type(sizes[index][0]).iType != 22) and \
|
|
1018 |
(hasattr(sizes[index + 1][0], 'iType') and type(sizes[index + 1][0]) != 22):
|
|
1017 |
and (hasattr(sizes[index][0], 'iType') and sizes[index][0].iType != 22) and \
|
|
1018 |
(hasattr(sizes[index + 1][0], 'iType') and sizes[index + 1][0].iType != 22):
|
|
1019 | 1019 |
size_errors.append(sizes[index][0]) |
1020 | 1020 |
size_errors.append(sizes[index + 1][0]) |
1021 | 1021 |
|
내보내기 Unified diff