Guard against two Blender instances on one previz folder #183

Open
opened 2026-10-11 06:41:39 +00:00 by crowmaki · 0 comments
Owner

Parent

#139

Problem

Nothing stops two Blender instances from opening the same Shot's previz folder (noted in #171). This can happen after "Open in Blender" twice, or after "Rebuild Blender scene" while the old instance is still open. Both instances save to scene.blend and write playblast.mp4, so whichever saves last wins. Animation done in the other instance is lost, with no warning.

What to build

  • "Open in Blender" notices when the app already started a Blender for this Shot that is still running. It brings the filmmaker to that instance, or asks before it starts another one.
  • "Rebuild Blender scene" while that Blender is still running asks the filmmaker to close it first, because the old instance would save over the rebuilt scene.

Keep the process tracking in Tauri and the decision in studio-core (ADR-0003).

Acceptance criteria

  • A second "Open in Blender" on the same Shot doesn't start a second Blender without asking
  • Rebuild while the Shot's Blender is running doesn't silently lose the rebuilt scene
  • Checked by hand with a real Blender install
## Parent #139 ## Problem Nothing stops two Blender instances from opening the same Shot's previz folder (noted in #171). This can happen after "Open in Blender" twice, or after "Rebuild Blender scene" while the old instance is still open. Both instances save to `scene.blend` and write `playblast.mp4`, so whichever saves last wins. Animation done in the other instance is lost, with no warning. ## What to build - "Open in Blender" notices when the app already started a Blender for this Shot that is still running. It brings the filmmaker to that instance, or asks before it starts another one. - "Rebuild Blender scene" while that Blender is still running asks the filmmaker to close it first, because the old instance would save over the rebuilt scene. Keep the process tracking in Tauri and the decision in studio-core (ADR-0003). ## Acceptance criteria - [ ] A second "Open in Blender" on the same Shot doesn't start a second Blender without asking - [ ] Rebuild while the Shot's Blender is running doesn't silently lose the rebuilt scene - [ ] Checked by hand with a real Blender install
Sign in to join this conversation.
No description provided.