PROVVISORIO: rotazione rawpart anziché del pezzo. Da correggere non appena sistemata funzione di rotazione pezzo nel grezzo.
This commit is contained in:
+4
-6
@@ -190,12 +190,10 @@ function BeamLib.InvertRawPart( Part, nNumberOfRotations)
|
||||
return
|
||||
end
|
||||
|
||||
-- si invertono le travi della fase corrente
|
||||
local nRId = Part.idRaw
|
||||
while nRId do
|
||||
EgtRotateRawPart( nRId, Z_AX(), nNumberOfRotations * 90)
|
||||
nRId = EgtGetNextRawPart( nRId)
|
||||
end
|
||||
--TODO è giusto ruotare il pezzo all'interno del grezzo, ma sembra non funzionare correttamente. Appena sistemato, cambiare richiamo funzione con questa commentata
|
||||
--EgtRotatePartInRawPart( Part.id, Z_AX(), nNumberOfRotations * 90)
|
||||
EgtRotateRawPart( Part.idRaw, Z_AX(), nNumberOfRotations * 90)
|
||||
|
||||
end
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
--- funzione che ruota il grezzo
|
||||
|
||||
Reference in New Issue
Block a user