From f3df37012e7a3392a4f5d47420d2eb85b5fbbf01 Mon Sep 17 00:00:00 2001 From: 4DBug Date: Sat, 31 Oct 2026 14:54:21 -0500 Subject: [PATCH] ws-3d3: model/3ds/Write: drop an unused local --- src/Formats/model/3ds/Write.luau | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Formats/model/3ds/Write.luau b/src/Formats/model/3ds/Write.luau index c094afd..8718a7b 100644 --- a/src/Formats/model/3ds/Write.luau +++ b/src/Formats/model/3ds/Write.luau @@ -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