Changes to fix the issue: [obs-zoom-to-mouse.lua] #71
Open
AndyFerns wants to merge 1 commit intoBlankSourceCode:mainfrom
Open
Changes to fix the issue: [obs-zoom-to-mouse.lua] #71AndyFerns wants to merge 1 commit intoBlankSourceCode:mainfrom
AndyFerns wants to merge 1 commit intoBlankSourceCode:mainfrom
Conversation
…pt_update for obs_lua_script_update: [string ".../obs-zoom-to-mouse.lua"]:435: attempt to call field 'obs_sceneitem_get_info' (a nil value) Simple refactoring from the getter: obs.obs_scenitem_get_info to the new API after the update: obs.obs_sceneitem_get_info2 and similarly for the setter: obs.obs_scenitem_set_info to obs.obs_sceneitem_set_info2
|
@AndyFerns May I know which operating system did you test it on? I am on Manjaro Linux. I tested your script but still can't obtain the scene.
|
Author
|
You might want to look into changing obs_sceneitem_set_info as well. |
Author
yup ive already made that change in the commit. i although still havent tested it on any linux distros, but its working fine on my windows 11 machine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixed the issue for obs not accurately obtaining the scene + showing an error log as follows:
[obs-zoom-to-mouse.lua] Failed to call script_update for obs_lua_script_update: [string ".../obs-zoom-to-mouse.lua"]:435: attempt to call field 'obs_sceneitem_get_info' (a nil value)
Simple refactoring from
the getter: obs.obs_scenitem_get_info to the new API after the update: obs.obs_sceneitem_get_info2 and similarly for the setter: obs.obs_scenitem_set_info to obs.obs_sceneitem_set_info2
Script works perfectly after making these changes and show no error logs