diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2021-12-13 09:50:34 +0100 |
---|---|---|
committer | Christian Muehlhaeuser <muesli@gmail.com> | 2021-12-13 09:57:42 +0100 |
commit | d9dfcb14033c5b3e0eddb4407c205a20fe42476f (patch) | |
tree | 98f338f1ecc971f485209f1822c9fc178363fc12 | |
parent | 862cac708e8e1b69b82a703e34d47e76c9432ee5 (diff) |
Restore locked status of sceneitemsv0.3.1
Fixes #34.
-rw-r--r-- | sceneitems.go | 2 |
1 files changed, 2 insertions, 0 deletions
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, } |