diff options
author | Joe Rayhawk <jrayhawk@fairlystable.org> | 2022-11-24 19:43:18 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@fairlystable.org> | 2022-11-24 19:43:18 -0800 |
commit | d8249c82b1c210b5bd39681fbab62f686508ad99 (patch) | |
tree | 8ed2f9e6dab79642b454baad76eece7927741d80 /src | |
parent | 1a5f65e4affcc0c517e2b50c08bc9ca8a6deaae1 (diff) | |
download | crystal-obs-websocket-d8249c82b1c210b5bd39681fbab62f686508ad99.tar.gz crystal-obs-websocket-d8249c82b1c210b5bd39681fbab62f686508ad99.zip |
Manage the last of the SceneItem event cache invalidations
Diffstat (limited to 'src')
-rw-r--r-- | src/obswebsocket.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/obswebsocket.cr b/src/obswebsocket.cr index 5f19008..de0e235 100644 --- a/src/obswebsocket.cr +++ b/src/obswebsocket.cr @@ -332,6 +332,8 @@ module OBS @scenes[edata["sceneName"].to_s].deletecache() # This could probably be made more efficient using the eventData when "SceneItemLockStateChanged" + edata = d["eventData"] + @scenes[edata["sceneName"].to_s].deletecache() when "SceneItemTransformChanged" edata = d["eventData"] transform = edata["sceneItemTransform"] |