Trimming :
- piccole correzioni.
This commit is contained in:
@@ -130,11 +130,13 @@ if nLayerEditSyncId ~= nil and nLayerEditSyncId ~= GDB_ID.NULL then
|
||||
while nId do
|
||||
local ptStart = EgtSP(nId)
|
||||
local dU = EgtCurveParamAtPoint( vNewBorder[1], ptStart, dLinTol)
|
||||
dU = round (dU) -- arrotondo: le isocurve toccavano la curva in punti a parametri interi
|
||||
|
||||
if dU == nil or dU < 0 then
|
||||
EgtOutBox( ERROR_CONFIRM_SURF_CHANGE .. 'Error creating the new sync lines', 'Error', 'ERROR', 'OK')
|
||||
return
|
||||
end
|
||||
local ptStart = EgtSurfBezierGetPoint(nNewSurf, dU, 0.)
|
||||
ptStart = EgtSurfBezierGetPoint(nNewSurf, dU, 0.)
|
||||
local ptEnd = EgtSurfBezierGetPoint(nNewSurf, dU, 1.)
|
||||
local nNewIso = EgtLine( nEditSurfLayer, ptStart, ptEnd)
|
||||
EgtSetName(nNewIso, SYNC_LINE_NAME)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user