개정판 f5c168dd
fix
Change-Id: I42827f4ee755a0a4817f681bd5c654519ae2e64e
DTI_PID/DTI_PID/Shapes/EngineeringLineItem.py | ||
---|---|---|
1528 | 1528 |
app_doc_data = AppDocData.instance() |
1529 | 1529 |
if scene: |
1530 | 1530 |
configs = app_doc_data.getConfigs('Line Detector', 'Length to connect line') |
1531 |
toler = int(configs[0].value) if configs else 20 |
|
1531 |
toler = int(configs[0].value) * 2 if configs else 20
|
|
1532 | 1532 |
|
1533 | 1533 |
if self.length() < 2 * toler: |
1534 | 1534 |
return |
내보내기 Unified diff