SceneAnchor

SceneAnchor 1.0.1

rockben

New Member
rockben submitted a new resource:

SceneAnchor - Folder tree for the scene list — folders live inside the scene collection and survive copy/rename.

View attachment 120974

Scene folders that stay put. Existing scene-tree plugins keep their folders in a side file keyed by collection name, so copying or renaming a collection loses the lot. SceneAnchor writes the tree into the scene collection's own JSON, the same file as the scenes, so it survives copies, renames, exports, OBS Studio updates, and uninstalling the plugin.

Requirements
OBS Studio 32.0 or newer, 64-bit. Builds are provided for...

Read more about this resource...
 
Hello. I am going to try the plugin. Looks great, but I do not understand how to install it on windows. In which subdirectories goes bin folder and data folder?
bin/64bit folder is copied to obs-plugins\64bit?
for data folder content I should create scene-anchor folder in data\obs-plugins?
 
I install the plugin, tried it. It looks really promising, but when I started to make nested folders it keeps crashing.
I appended crash file. Maybe it help. At the moment I uninstall the plugin, cause I need the obs running
 

Attachments

rockben updated SceneAnchor with a new update entry:

1.0.1 - nested-folder crash fixed, Windows installer added

Fixed: a crash while building nested folders. Thanks to alladjex for the report and the crash log, which was enough to find it. Committing a folder rename tore down and rebuilt the whole dock item model from inside a Qt signal that was still using those items, so Qt walked freed memory as soon as control returned to it. Nesting folders hit it every time, because each new subfolder gets renamed right after it is created. Drag and drop and the right-click actions shared the same defect...

Read the rest of this update entry...
 
@alladjex Both of your questions are answered by 1.0.1, which is up now.
The crash. Thank you for the crash log - it was enough to find this without a repro. Committing a folder rename made the dock tear down and rebuild its whole item model from inside a Qt signal that was still using those items, so Qt walked freed memory the moment control came back to it. Nesting folders hit it every single time, because each new subfolder gets renamed right after you create it - which is exactly what you described. Drag and drop and the right-click actions had the same defect; all three are fixed by the same change.
Where the folders go. Your guess in the earlier post was right - for one of the two layouts. OBS reads plugins from two places on Windows and they want different structures:
  • C:\ProgramData\obs-studio\plugins\scene-anchor\ - with bin\64bit\ and data\ inside it, exactly as they come out of the .zip. Nothing to split apart. An OBS update will not wipe this one.
  • Inside the OBS folder itself - and there it is exactly as you wrote: bin\64bit\* into obs-plugins\64bit\, and the contents of data\ into data\obs-plugins\scene-anchor\. This is the only layout a portable OBS reads.
1.0.1 also adds a Windows installer that does either one for you: it defaults to the first, and switches to the second if you point it at an OBS folder. The resource description now spells both out - the old "unpack the .zip into your OBS Studio plugin directory" line was not enough to act on, and that is on me.
One thing that catches people either way: the dock is hidden until you turn it on - open the Docks menu and tick SceneAnchor. If it does not show up after installing, that is almost always why rather than a failed load.
If it crashes again, please do post the log the same way - it made this one straightforward.
 
Back
Top