Hi,
The context is video game usage export on a server. For this I need to switch scene from the script to make different kind of export.
In the 2.49 it works but i can’t find a way to do it with 2.58 version.
First I used:
scene = bpy.data.scenes[“BugMultiMaterial”]
bpy.data.screens[0].scene = scene
but it does not make my scene active.
I tried with the -S switch from command line but I still not scene I want to be active.
Scene switch: ‘BugMultiMaterial’ in file: ‘/home/trigrou/dev/osgexport/b25/test/test.blend’
current scene ‘Geometry’
Any hints ?