summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Muehlhaeuser <muesli@gmail.com>2021-12-13 09:50:34 +0100
committerChristian Muehlhaeuser <muesli@gmail.com>2021-12-13 09:57:42 +0100
commitd9dfcb14033c5b3e0eddb4407c205a20fe42476f (patch)
tree98f338f1ecc971f485209f1822c9fc178363fc12
parent862cac708e8e1b69b82a703e34d47e76c9432ee5 (diff)
Restore locked status of sceneitemsv0.3.1
Fixes #34.
-rw-r--r--sceneitems.go2
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,
}