stream-labs / obs-studio-node

libOBS (OBS Studio) for Node.Js, Electron and similar tools
GNU General Public License v2.0
606 stars 99 forks source link

Fix #1292 SceneFactory.fromName return exception on duplicate scene #1327

Closed avoitenko-logitech closed 1 year ago

avoitenko-logitech commented 1 year ago

Description

Fixed uninitialized ID field of scene item during duplication

Motivation and Context

Fix for: https://github.com/stream-labs/obs-studio-node/issues/1221

How Has This Been Tested?

Unit test was uncommented. It was failing before the fix.

Types of changes

Bug fix (non-breaking change which fixes an issue)