Utils(GetSceneItemData): remove property isGroup

This commit is contained in:
Stéphane Lepin 2019-05-16 13:57:38 +02:00
parent b0a35789f6
commit 788f70d5f3
2 changed files with 0 additions and 3 deletions

View File

@ -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<SceneItem> (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) {

View File

@ -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<SceneItemTransform> (optional)} `groupChildren` List of children (if this item is a group)
*