Corrette origini
This commit is contained in:
+8
-12
@@ -32,7 +32,7 @@ local WallData = {
|
||||
T14_T12_DOUBLE = true, -- abilita chiodatura in doppio con teste T14 e T12
|
||||
RAWCOL = { 255, 160, 32, 30}, -- colore del grezzo
|
||||
SIMUL_VIEW_DIR = 3, -- direzione di vista predefinita per la simulazione (1=NW, 2=SW, 3=NE, 4=SE)
|
||||
ORIG_CORNER = 'TL', -- posizione origine (TL,BL,TR,BR,TM,BM)
|
||||
ORIG_CORNER = 'BL', -- posizione origine (TL,BL,TR,BR,TM,BM)
|
||||
MID_REF = 27000, -- posizione X dell'origine intermedia
|
||||
USE_POSY = true -- utilizzare POSY di BTL (spostamento sullo spessore per pareti a layer)
|
||||
}
|
||||
@@ -63,19 +63,15 @@ end
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
local function GetOrigCorner( RefPos)
|
||||
if RefPos == 1 then
|
||||
return 'TL'
|
||||
elseif RefPos == 2 then
|
||||
return 'BL'
|
||||
elseif RefPos == 3 then
|
||||
return 'TR'
|
||||
elseif RefPos == 4 then
|
||||
return 'BR'
|
||||
elseif RefPos == 5 then
|
||||
return 'TM'
|
||||
elseif RefPos == 6 then
|
||||
return 'BM'
|
||||
else
|
||||
elseif RefPos == 2 then
|
||||
return 'TR'
|
||||
elseif RefPos == 3 then
|
||||
return 'BL'
|
||||
elseif RefPos == 4 then
|
||||
return 'TL'
|
||||
else
|
||||
return 'BL'
|
||||
end
|
||||
end
|
||||
WallData.GetOrigCorner = GetOrigCorner
|
||||
|
||||
Reference in New Issue
Block a user