From d9dfcb14033c5b3e0eddb4407c205a20fe42476f Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 13 Dec 2021 09:50:34 +0100 Subject: [PATCH] Restore locked status of sceneitems Fixes #34. --- sceneitems.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sceneitems.go b/sceneitems.go index f33c999..103b238 100644 --- a/sceneitems.go +++ b/sceneitems.go @@ -111,6 +111,7 @@ func setSceneItemVisible(visible bool, scene string, items ...string) error { Position: resp.Position, Rotation: resp.Rotation, Scale: resp.Scale, + Locked: resp.Locked, Visible: visible, } @@ -169,6 +170,7 @@ func centerSceneItem(scene string, items ...string) error { Position: pos, Rotation: resp.Rotation, Scale: resp.Scale, + Locked: resp.Locked, Visible: resp.Visible, }