DataBeam :
- migliorie e correzioni varie - unificati BirdsMouth con LapJoint.
This commit is contained in:
@@ -38,11 +38,13 @@ function MachiningLib.FindMilling( sType)
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
function MachiningLib.FindPocketing( sType)
|
||||
function MachiningLib.FindPocketing( sType, dMaxMat)
|
||||
for i = 1, #Pocketings do
|
||||
local Pocketing = Pocketings[i]
|
||||
if Pocketing.Type == sType then
|
||||
return Pocketing.Name
|
||||
if not dMaxMat or dMaxMat < Pocketing.MaxMat then
|
||||
return Pocketing.Name
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user