Closed b4zz4 closed 3 years ago
This will fail if you first generate scenes, then delete the content of the main scene, add new scenes in between the old ones in the text, and then generate scenes, because the order of the scenes in the blender data will not match the order of the scenes in the text.
This function needs to be improved. Ex. it will fail if scene numbers are added before scenes are generated. It doesn't work for non-scene header lines. And the name of the Main scene should be permanently stored, so users will have the option to switch back to the main edit scene.
Have opened a ticket #33 for this, as it is a more complicated operation to fix/improve.
I'm going to go with this for now, though it still could be improved more. But it gets rid of the errors. Thanks.
Works better when the scenes are called the same, or if they are numbered. Also checks out any written line to which scene belongs.