mirror of
https://github.com/dvdvideo1234/TrackAssemblyTool.git
synced 2025-03-04 03:13:32 -05:00
Fixed: Attempt to call a nil value
This commit is contained in:
parent
ea01f90a20
commit
363427e0f9
@ -12,7 +12,7 @@ asmlib.SetIndexes("V",1,2,3)
|
||||
asmlib.SetIndexes("A",1,2,3)
|
||||
asmlib.SetIndexes("S",4,5,6,7)
|
||||
asmlib.InitAssembly("track")
|
||||
asmlib.SetOpVar("TOOL_VERSION",21)
|
||||
asmlib.SetOpVar("TOOL_VERSION",22)
|
||||
asmlib.SetOpVar("DIRPATH_BAS",asmlib.GetOpVar("TOOLNAME_NL").."/")
|
||||
asmlib.SetOpVar("DIRPATH_EXP","exp/")
|
||||
asmlib.SetOpVar("DIRPATH_DSV","dsv/")
|
||||
|
@ -908,7 +908,7 @@ function ModelToName(sModel)
|
||||
if(Len <= 0) then return "" end
|
||||
local Cnt = 1
|
||||
local sModel = string.sub(sModel,1,Len)
|
||||
local tMarks = GsubModel()
|
||||
local tMarks = ModelGsubMode()
|
||||
if(tMarks and tMarks[1] and (ArrayCount(tMarks)%2 == 0)) then
|
||||
while(tMarks[Cnt]) do
|
||||
sModel = string.gsub(sModel,tMarks[Cnt],tMarks[Cnt+1])
|
||||
|
Loading…
Reference in New Issue
Block a user