EgtInterface 1.6c3 :

- aggiunta gestione cambio inizio di curva chiusa
- corretta funzione lua EgtArc2PVNEx.
This commit is contained in:
Dario Sassi
2015-03-16 14:16:21 +00:00
parent 4fe226fd74
commit 10814a2d04
4 changed files with 62 additions and 3 deletions
+3 -3
View File
@@ -406,11 +406,11 @@ LuaCreateCurveArc2PVNEx( lua_State* L)
int nIdE ;
LuaCheckParam( L, 5, nIdE)
Vector3d vtDirS ;
LuaCheckParam( L, 4, vtDirS)
LuaCheckParam( L, 6, vtDirS)
Vector3d vtNorm ;
LuaCheckParam( L, 5, vtNorm)
LuaCheckParam( L, 7, vtNorm)
int nRefType = RTY_DEFAULT ;
LuaGetRefType( L, 6, nRefType) ;
LuaGetRefType( L, 8, nRefType) ;
LuaClearStack( L) ;
// creo l'arco
int nId = EgtCreateCurveArc2PVNEx( nParentId, ptStart.v, ptEnd.v, StringToSep( sSepE), nIdE,