From f8263caa0341c0f0ea34b4af6783fcdf9aba308f Mon Sep 17 00:00:00 2001 From: tt2468 Date: Wed, 29 Dec 2021 00:23:30 -0800 Subject: [PATCH] RequestHandler: Add code comment to RemoveSceneItem --- src/requesthandler/RequestHandler_SceneItems.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/requesthandler/RequestHandler_SceneItems.cpp b/src/requesthandler/RequestHandler_SceneItems.cpp index 90abd2fc..50ea294a 100644 --- a/src/requesthandler/RequestHandler_SceneItems.cpp +++ b/src/requesthandler/RequestHandler_SceneItems.cpp @@ -193,6 +193,7 @@ RequestResult RequestHandler::RemoveSceneItem(const Request& request) if (!sceneItem) return RequestResult::Error(statusCode, comment); + // Makes the UI log `User Removed source '[source]' from scene '(null)'`. This is not a problem, just a side effect. obs_sceneitem_remove(sceneItem); return RequestResult::Success();