forked from mtcontrib/signs_lib
Fix missing offsets on wallmount selboxes
This commit is contained in:
parent
4614d66cbe
commit
fb77cc5708
2
api.lua
2
api.lua
|
@ -572,7 +572,7 @@ function signs_lib.make_selection_boxes(sizex, sizey, onpole, xoffs, yoffs, zoff
|
||||||
if not fdir then
|
if not fdir then
|
||||||
return {
|
return {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
wall_side = { -0.5, -ty, -tx, -0.4375, ty, tx },
|
wall_side = { -0.5 + zo, -ty + yo, -tx + xo, -0.4375 + zo, ty + yo, tx + xo },
|
||||||
wall_top = { -tx - xo, 0.5 + zo, -ty + yo, tx - xo, 0.4375 + zo, ty + yo},
|
wall_top = { -tx - xo, 0.5 + zo, -ty + yo, tx - xo, 0.4375 + zo, ty + yo},
|
||||||
wall_bottom = { -tx - xo, -0.5 + zo, -ty + yo, tx - xo, -0.4375 + zo, ty + yo }
|
wall_bottom = { -tx - xo, -0.5 + zo, -ty + yo, tx - xo, -0.4375 + zo, ty + yo }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user