Skip to content

Fix compatibility with OBS Studio 32#70

Open
andilippi wants to merge 1 commit into
BlankSourceCode:mainfrom
andilippi:fix-obs32-compatibility
Open

Fix compatibility with OBS Studio 32#70
andilippi wants to merge 1 commit into
BlankSourceCode:mainfrom
andilippi:fix-obs32-compatibility

Conversation

@andilippi

Copy link
Copy Markdown
  • 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

YahirCx commented Sep 25, 2025

Copy link
Copy Markdown

Very goood thanks

Comment thread obs-zoom-to-mouse.lua
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
Copy Markdown

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

w3903771 commented Oct 7, 2025

Copy link
Copy Markdown

thanks, it works well

@danielkassar

Copy link
Copy Markdown

This worked, thanks!

@sekira

sekira commented Oct 30, 2025

Copy link
Copy Markdown

thx, it helps on windows 10 and OBS 32.0.1

@danilodelucio

Copy link
Copy Markdown

Thanks, this worked for me on 32.0.2. 🙏

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.

8 participants