mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-18 15:03:44 +00:00
add bounds/crop/rotation flags to sceneitem transform
upd readme upd changelog upd tests minor bump
This commit is contained in:
@@ -71,6 +71,17 @@ def pytest_sessionstart(session):
|
||||
},
|
||||
sceneItemEnabled=True,
|
||||
)
|
||||
resp = session.obsws.get_scene_item_list('pytest')
|
||||
for item in resp.scene_items:
|
||||
if item['sourceName'] == 'pytest_input_2':
|
||||
session.obsws.set_scene_item_transform(
|
||||
'pytest',
|
||||
item['sceneItemId'],
|
||||
{
|
||||
'rotation': 0,
|
||||
},
|
||||
)
|
||||
break
|
||||
|
||||
|
||||
def pytest_sessionfinish(session, exitstatus):
|
||||
|
||||
Reference in New Issue
Block a user