DataWindow :
- gestione errore dimensioni telaio.
This commit is contained in:
@@ -196,6 +196,9 @@ local function ConvertTableToGeometry( AreaTable, nParentId)
|
||||
|
||||
-- creo il telaio
|
||||
local nAreaId = WinCreate.CreateFrame( nType, vJoints, vDim, nAreaNbr)
|
||||
if not nAreaId then
|
||||
return
|
||||
end
|
||||
|
||||
-- verifico presenza bottomrail
|
||||
if AreaTable[JWD_BOTTOMRAIL] then
|
||||
@@ -353,9 +356,8 @@ function WinManageProject.ReadFromFile( sFilePath, sProfileDir)
|
||||
end
|
||||
|
||||
-- creo le aree
|
||||
ConvertTableToGeometry( tData[JWD_AREA_LIST][1], GDB_ID.ROOT)
|
||||
return ConvertTableToGeometry( tData[JWD_AREA_LIST][1], GDB_ID.ROOT)
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user