mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
SetSceneItemProperties: fix string comparison for bounds type parameter
Fixes #309
This commit is contained in:
parent
2821962d12
commit
03ba2a680e
@ -207,7 +207,7 @@ HandlerResponse WSRequestHandler::HandleSetSceneItemProperties(WSRequestHandler*
|
||||
OBSDataAutoRelease boundsError = obs_data_create();
|
||||
OBSDataAutoRelease reqBounds = obs_data_get_obj(req->data, "bounds");
|
||||
if (obs_data_has_user_value(reqBounds, "type")) {
|
||||
const char* newBoundsType = obs_data_get_string(reqBounds, "type");
|
||||
QString newBoundsType = obs_data_get_string(reqBounds, "type");
|
||||
if (newBoundsType == "OBS_BOUNDS_NONE") {
|
||||
obs_sceneitem_set_bounds_type(sceneItem, OBS_BOUNDS_NONE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user