-- in FaceData aggiunta colorazione faccia di fondo, se livello di Debug >= 3

This commit is contained in:
luca.mazzoleni
2024-05-03 14:33:47 +02:00
parent 03e4b4457d
commit fedfc92ef0
+5
View File
@@ -124,6 +124,9 @@ function FaceData.GetFacesInfo( Proc)
end
for i = 1, Proc.Fct do
-- reset colore faccia
EgtSurfTmSetFaceColor( Proc.Id, i - 1, 0)
Faces[i] = {}
Faces[i].Id = i - 1
Faces[i].PtCenter, Faces[i].VtN = EgtSurfTmFacetCenter( Proc.Id, i - 1, GDB_ID.ROOT)
@@ -346,6 +349,8 @@ function FaceData.GetMainFaces( Proc)
-- TODO funzione apposita per informazioni log?
if EgtGetDebugLevel() >= 3 then
if MainFaces.BottomFace then
-- colore differente per la faccia di fondo
EgtSurfTmSetFaceColor( Proc.Id, MainFaces.BottomFace.Id, 1)
EgtOutLog( 'Bottom Face : ' .. MainFaces.BottomFace.Id)
end
if MainFaces.LongFaces then