fix for ik

This commit is contained in:
littlebabyman 2024-12-15 04:19:47 +02:00
parent e46f55233e
commit a6b4e132aa

View File

@ -194,6 +194,7 @@ function SWEP:PreDrawViewModel()
end
function SWEP:ViewModelDrawn()
self.StoredVMAngles = self:GetCameraControl()
self:DrawCustomModel(false)
render.DepthRange( 0.0, 0.1 )
self:DoRHIK()
@ -206,7 +207,6 @@ function SWEP:ViewModelDrawn()
for ind = 0, 31 do
self:GetVM():SetSubMaterial(ind, "")
end
self.StoredVMAngles = self:GetCameraControl()
end
function SWEP:PostDrawViewModel()