3dPrinting 3.1c2 :
- piccola correzione per gestire compatibilià con vecchi progetti che hanno info "SlicingDir" e non "SliceDir".
This commit is contained in:
@@ -156,7 +156,7 @@ function RunPrepareExport.Exec()
|
||||
-- recupero alcune info utili e le assegno al punto per poterle leggere da ThreeJS
|
||||
local dH = EgtGetInfo( nPartId, KEY_SLICE_STEP, 'd')
|
||||
EgtSetInfo( nPnt, KEY_SLICE_STEP, dH)
|
||||
local vtSlicing = EgtGetInfo( nPartId, KEY_SLICE_DIR, 'v')
|
||||
local vtSlicing = EgtGetInfo( nPartId, KEY_SLICE_DIR, 'v') or EgtGetInfo( nPartId, "SlicingDir", 'v')
|
||||
EgtSetInfo( nPnt, "SlicingDir", vtSlicing)
|
||||
local bSpiralVase = EgtGetInfo( nPartId, KEY_SPIRAL_VASE, 'b') or false
|
||||
EgtSetInfo( nPnt, KEY_SPIRAL_VASE, bSpiralVase)
|
||||
|
||||
Reference in New Issue
Block a user