Skip to content

Conversation

@andilippi
Copy link

  • Replace deprecated obs_sceneitem_get_info() with obs_sceneitem_get_info2()
  • Replace deprecated obs_sceneitem_set_info() with obs_sceneitem_set_info2()
  • Fixes 'attempt to call field obs_sceneitem_get_info (a nil value)' errors

- Replace deprecated obs_sceneitem_get_info() with obs_sceneitem_get_info2()
- Replace deprecated obs_sceneitem_set_info() with obs_sceneitem_set_info2()
- Fixes 'attempt to call field obs_sceneitem_get_info (a nil value)' errors
@YahirCx
Copy link

YahirCx commented Sep 25, 2025

Very goood thanks

if sceneitem_info_orig ~= nil then
log("Transform info reset back to original")
obs.obs_sceneitem_get_info(sceneitem, sceneitem_info_orig)
obs.obs_sceneitem_set_info2(sceneitem, sceneitem_info_orig)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be obs_sceneitem_get_info2 instead of set_info2

@w3903771
Copy link

w3903771 commented Oct 7, 2025

thanks, it works well

@danielkassar
Copy link

This worked, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants