From 788f70d5f3be70883642de26407c04574e07be29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lepin?= Date: Thu, 16 May 2019 13:57:38 +0200 Subject: [PATCH] Utils(GetSceneItemData): remove property isGroup --- src/Utils.cpp | 2 -- src/WSRequestHandler_SceneItems.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/src/Utils.cpp b/src/Utils.cpp index 08040021..9212d993 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -111,7 +111,6 @@ obs_data_array_t* Utils::GetSceneItems(obs_source_t* source) { * @property {Number} `volume` * @property {Number} `x` * @property {Number} `y` - * @property {Boolean} `isGroup` Whether or not this Scene Item is a group * @property {String (optional)} `parentGroupName` Name of the item's parent (if this item belongs to a group) * @property {Array (optional)} `groupChildren` List of children (if this item is a group) */ @@ -148,7 +147,6 @@ obs_data_t* Utils::GetSceneItemData(obs_sceneitem_t* item) { obs_data_set_double(data, "cy", item_height * scale.y); obs_data_set_bool(data, "render", obs_sceneitem_visible(item)); obs_data_set_bool(data, "locked", obs_sceneitem_locked(item)); - obs_data_set_bool(data, "isGroup", obs_sceneitem_is_group(item)); obs_scene_t* parent = obs_sceneitem_get_scene(item); if (parent) { diff --git a/src/WSRequestHandler_SceneItems.cpp b/src/WSRequestHandler_SceneItems.cpp index ca450bf4..cb179b25 100644 --- a/src/WSRequestHandler_SceneItems.cpp +++ b/src/WSRequestHandler_SceneItems.cpp @@ -29,7 +29,6 @@ * @return {int} `sourceHeight` Base source (without scaling) of the source * @return {double} `width` Scene item width (base source width multiplied by the horizontal scaling factor) * @return {double} `height` Scene item height (base source height multiplied by the vertical scaling factor) -* @property {Boolean} `isGroup` Whether or not this Scene Item is a group * @property {String (optional)} `parentGroupName` Name of the item's parent (if this item belongs to a group) * @property {Array (optional)} `groupChildren` List of children (if this item is a group) *