From 90aebecc5bc39c655cd10d3f37171d193576faaa Mon Sep 17 00:00:00 2001 From: Teddy Stoddard Date: Sat, 14 Oct 2017 14:36:23 -0400 Subject: [PATCH] small fixes --- WSRequestHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WSRequestHandler.cpp b/WSRequestHandler.cpp index 9280892a..5df4ed22 100644 --- a/WSRequestHandler.cpp +++ b/WSRequestHandler.cpp @@ -1552,7 +1552,7 @@ void WSRequestHandler::HandleSetSceneItemProperties(WSRequestHandler* req) { if (obs_data_has_user_value(req_position, "alignment")) { const uint32_t alignment = obs_data_get_int(req_position, "alignment"); if (Utils::IsValidAlignment(alignment)) { - obs_sceneitem_set_alignment(alignment); + obs_sceneitem_set_alignment(scene_item, alignment); } // Send an error in the else statement? // Append an error message to the response?