fix: correct tuple wrapping in Reify implementation for node rendering

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

View File

@@ -202,14 +202,14 @@ impl Reify for BridgeState {
seg(front, right), seg(right, back), seg(back, left), seg(left, front), seg(front, right), seg(right, back), seg(back, left), seg(left, front),
]; ];
( 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()
) ))
}, },
_ => { _ => {
use ast::client::values::color::rgba_linear; use ast::client::values::color::rgba_linear;