mirror of
https://github.com/dvdvideo1234/TrackAssemblyTool.git
synced 2025-03-04 03:13:32 -05:00
Fixed: Ghost stuck in the ground on multiplayer x32-x64 Chromium branch
Updated: Button controlled sliders
This commit is contained in:
parent
9622af7eb7
commit
366720ae6e
@ -75,7 +75,7 @@ local gtInitLogs = {"*Init", false, 0}
|
||||
|
||||
------ CONFIGURE ASMLIB ------
|
||||
asmlib.InitBase("track","assembly")
|
||||
asmlib.SetOpVar("TOOL_VERSION","7.605")
|
||||
asmlib.SetOpVar("TOOL_VERSION","7.606")
|
||||
asmlib.SetIndexes("V" , "x", "y", "z")
|
||||
asmlib.SetIndexes("A" ,"pitch","yaw","roll")
|
||||
asmlib.SetIndexes("WV",1,2,3)
|
||||
|
@ -1483,7 +1483,6 @@ function SetButtonSlider(cPanel,sVar,sTyp,nMin,nMax,nDec,tBtn)
|
||||
local sTag = "tool."..GetOpVar("TOOLNAME_NL").."."..sVar
|
||||
pPanel:SetParent(cPanel)
|
||||
cPanel:InvalidateLayout()
|
||||
pPanel:InvalidateChildren()
|
||||
pPanel:SetSize(sX, sY)
|
||||
if(IsTable(tBtn) and tBtn[1]) then
|
||||
local sPtn = GetOpVar("FORM_LOGBTNSLD")
|
||||
@ -1524,7 +1523,7 @@ function SetButtonSlider(cPanel,sVar,sTyp,nMin,nMax,nDec,tBtn)
|
||||
pPanel:InvalidateChildren()
|
||||
pPanel:SizeToContents()
|
||||
pPanel:SizeToChildren(true, false)
|
||||
cPanel:AddItem(pPanel)
|
||||
cPanel:AddPanel(pPanel)
|
||||
return pPanel
|
||||
end
|
||||
|
||||
@ -4200,6 +4199,7 @@ local function MakeEntityGhost(sModel, vPos, aAng)
|
||||
eGho:SetAngles(aAng or GetOpVar("ANG_ZERO"))
|
||||
eGho:Spawn()
|
||||
eGho:SetSolid(SOLID_NONE)
|
||||
eGho:SetCollisionGroup(COLLISION_GROUP_NONE)
|
||||
eGho:SetMoveType(MOVETYPE_NONE)
|
||||
eGho:SetNotSolid(true)
|
||||
eGho:SetNoDraw(true)
|
||||
|
Loading…
Reference in New Issue
Block a user