From d8249c82b1c210b5bd39681fbab62f686508ad99 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Thu, 24 Nov 2022 19:43:18 -0800 Subject: Manage the last of the SceneItem event cache invalidations --- src/obswebsocket.cr | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/obswebsocket.cr') 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"] -- cgit v1.2.3