Merge pull request #61 from penolakushari/readability

Readability
This commit is contained in:
penolakushari 2024-12-19 19:46:14 +03:00 committed by GitHub
commit d972becc8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 339 additions and 219 deletions

View File

@ -716,7 +716,7 @@ local function RecursiveSetScale(ostable, sbone, ent, plocks, slocks, RTable, bo
RTable[bone].sc = bsc
end
function SetScaleOffsets(tool, ent, ostable, sbone, scale, plocks, slocks, scalechildren, nphysinfo, childrenbones)
function SetScaleOffsets(ent, ostable, sbone, scale, plocks, slocks, scalechildren, nphysinfo, childrenbones)
local RTable = {}
local physcount = ent:GetPhysicsObjectCount() - 1
@ -762,7 +762,6 @@ function SetScaleOffsets(tool, ent, ostable, sbone, scale, plocks, slocks, scale
return RTable
end
-----
--Inverse kinematics library
-----

View File

@ -821,8 +821,7 @@ do
end
if self.axistype == 4 then
rotateang = nphysangle + localized
_a = rotateang
_a = nphysangle
else
_a = ent:GetManipulateBoneAngles(bone)
_a = _a*1 -- do this to copy angle in case if we're rotating advanced bonemerged stuff

File diff suppressed because it is too large Load Diff