obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
777 stars 221 forks source link

getCurrentScene returns source name #130

Closed BarryCarlyon closed 6 years ago

BarryCarlyon commented 6 years ago

window.obsstudio.getCurrentScene(function(data) { console.log(data); });

Seems to return the name and dimensions of the source instead of the name of the scene that the source is present upon.

The OBS_FRONTEND_EVENT_SCENE_CHANGED event works correctly. But the function does not.

window.obsstudio.pluginVersion -> 2.1.1

OsirisNL commented 6 years ago

Fixed in 6390fade

BarryCarlyon commented 6 years ago

Ha. I was trying to trace the issue in the source when I saw you fixed it!