forked from HaodongMo/ArcCW
wm jitter fix thanks 62#7828
This commit is contained in:
parent
d70675c683
commit
0d2717458b
@ -799,15 +799,15 @@ function SWEP:DrawCustomModel(wm,origin,angle)
|
||||
|
||||
if !boneindex then continue end
|
||||
|
||||
bpos, bang = vm:GetBonePosition(boneindex)
|
||||
-- bpos, bang = vm:GetBonePosition(boneindex)
|
||||
|
||||
if bpos == vm:GetPos() then
|
||||
-- if bpos == vm:GetPos() then
|
||||
local bonemat = vm:GetBoneMatrix(boneindex)
|
||||
if bonemat then
|
||||
bpos = bonemat:GetTranslation()
|
||||
bang = bonemat:GetAngles()
|
||||
end
|
||||
end
|
||||
-- end
|
||||
|
||||
if custompos and (!self.MirrorVMWM or (self.MirrorVMWM and k.Model:GetModel() == self.ViewModel) ) then
|
||||
bpos = origin
|
||||
|
Loading…
Reference in New Issue
Block a user