mirror of
https://github.com/dvdvideo1234/TrackAssemblyTool.git
synced 2025-03-04 03:13:32 -05:00
Updated: BG-ID log output
This commit is contained in:
parent
d523d91d46
commit
e2fa31cb96
@ -86,7 +86,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
|
|||||||
------------ CONFIGURE ASMLIB ------------
|
------------ CONFIGURE ASMLIB ------------
|
||||||
|
|
||||||
asmlib.InitBase("track","assembly")
|
asmlib.InitBase("track","assembly")
|
||||||
asmlib.SetOpVar("TOOL_VERSION","8.763")
|
asmlib.SetOpVar("TOOL_VERSION","8.764")
|
||||||
|
|
||||||
------------ CONFIGURE GLOBAL INIT OPVARS ------------
|
------------ CONFIGURE GLOBAL INIT OPVARS ------------
|
||||||
|
|
||||||
|
@ -4602,7 +4602,7 @@ function AttachBodyGroups(ePiece,sBgID)
|
|||||||
while(tBG[iCnt] and IDs[iCnt]) do local vBG = tBG[iCnt]
|
while(tBG[iCnt] and IDs[iCnt]) do local vBG = tBG[iCnt]
|
||||||
local maxID = (ePiece:GetBodygroupCount(vBG.id) - 1)
|
local maxID = (ePiece:GetBodygroupCount(vBG.id) - 1)
|
||||||
local curID = mathClamp(mathFloor(tonumber(IDs[iCnt]) or 0), 0, maxID)
|
local curID = mathClamp(mathFloor(tonumber(IDs[iCnt]) or 0), 0, maxID)
|
||||||
LogInstance("SetBodygroup "..GetReport(iCnt, maxID, vBG.id, curID))
|
LogInstance("SetBodygroup "..GetReport(iCnt, vBG.id, maxID, curID))
|
||||||
ePiece:SetBodygroup(vBG.id, curID); iCnt = iCnt + 1
|
ePiece:SetBodygroup(vBG.id, curID); iCnt = iCnt + 1
|
||||||
end; LogInstance("Success "..GetReport(sBgID)); return true
|
end; LogInstance("Success "..GetReport(sBgID)); return true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user