ws-3d3: model/3ds/Write: drop an unused local

This commit is contained in:
4DBug committed 2026-10-31 14:54:21 -05:00
1 parent 730820d1f6
commit f3df37012e
1 file changed
-2
-2
View File
@@ -670,7 +670,6 @@ function Write.encode(scene: Types.Scene, opts: Options?): (buffer?, string?)
local pk = if p ~= 0 then kfOf[p] else nil
local camOrLight = (n.camera and scene.cameras[n.camera]) or (n.light and scene.lights[n.light])
local dist = 100
local x3ds = n.extras and n.extras["3ds"]
local function placeCamLight(kind: number, objName: string, tgtChunk: number?)
local pos, tgt, roll = aim(W[i], dist)
local kn: KfNode = { chunk = kind, name = objName, parent = -1, frames = { pos = { 0 }, roll = { 0 } }, values = { pos = pos, roll = { roll } } }
@@ -751,7 +750,6 @@ function Write.encode(scene: Types.Scene, opts: Options?): (buffer?, string?)
end
return idx
end
local _ = x3ds
if n.mesh == nil and camOrLight then
camLight(true)
continue