RequestHandler: Add code comment to RemoveSceneItem

This commit is contained in:
tt2468 2021-12-29 00:23:30 -08:00
parent 5c16a11ba8
commit f8263caa03

View File

@ -193,6 +193,7 @@ RequestResult RequestHandler::RemoveSceneItem(const Request& request)
if (!sceneItem) if (!sceneItem)
return RequestResult::Error(statusCode, comment); 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); obs_sceneitem_remove(sceneItem);
return RequestResult::Success(); return RequestResult::Success();