fix: correct tuple wrapping in Reify implementation for line rendering

This commit is contained in:
MayaTheShy
2025-11-08 20:47:34 -05:00
parent 7ad5b701df
commit 024487e902

View File

@@ -165,14 +165,14 @@ impl Reify for BridgeState {
} }
lines.push(Line { points: yz_points, cyclic: true }); lines.push(Line { points: yz_points, cyclic: true });
( Some((
*id, *id,
Lines::new(lines) Lines::new(lines)
.pos([trans.x, trans.y, trans.z]) .pos([trans.x, trans.y, trans.z])
.rot([rot.x, rot.y, rot.z, rot.w]) .rot([rot.x, rot.y, rot.z, rot.w])
.scl([vis_scale.x, vis_scale.y, vis_scale.z]) .scl([vis_scale.x, vis_scale.y, vis_scale.z])
.build() .build()
) ))
}, },
3 if !node.model_url.is_empty() => { 3 if !node.model_url.is_empty() => {
// Model entity - would load from URL // Model entity - would load from URL