On 13-07-05 03:54 PM, Alberto Torres wrote:
> Also, as a workaround for previous versions you can do:
>
> import os
> del os.environ['SDL_VIDEODRIVER']
>
> Or something like that.
When I use this with 2.68 RC1, I get this error:
del self._data[key]
KeyError: b'SDL_VIDEODRIVER'
However the patch
Someone should test if SDL stuff is still working. Maybe that variable
needs re-adding but only just before SDL initialization, and to be removed
after.
Also, as a workaround for previous versions you can do:
import os
del os.environ['SDL_VIDEODRIVER']
Or something like that.
--
DiThi
2013/7/4
On 13-07-04 07:31 AM, Brecht Van Lommel wrote:
> I found some suspicious code in Blender that would set the environment
> variable SDL_VIDEODRIVER=dummy. I'm not sure if that's the cause of
> the problem, but I would expect such environment variables to
> influence child processes. That code is rem
On 13-07-04 04:55 AM, Kevin Roy wrote:
> I've just try the following lines in blender console and the following worked
> for me:
>
> from subprocess import call
> call(["glxgears"])
Yeah, I just tried this with 2.67b and it works. So my problem could be
specific to SDL 2.0 apps?
I will try build
On 13-07-04 07:31 AM, Brecht Van Lommel wrote:
> I found some suspicious code in Blender that would set the environment
> variable SDL_VIDEODRIVER=dummy. I'm not sure if that's the cause of
> the problem, but I would expect such environment variables to
> influence child processes. That code is rem
I found some suspicious code in Blender that would set the environment
variable SDL_VIDEODRIVER=dummy. I'm not sure if that's the cause of
the problem, but I would expect such environment variables to
influence child processes. That code is removed now in svn revision
57992 or newer, please test if
Hello Sinan,
Le jeudi 4 juillet 2013 01:29:16, Sinan Hassani a écrit :
> So I'm creating a plug-in that uses BGE's interface to run an external
> game engine (Urho3D). I add custom buttons to BGE and implement my own
> draw functions.
>
> However when I launch the engine, I get an error:
>
> ERR
Hi,
So I'm creating a plug-in that uses BGE's interface to run an external
game engine (Urho3D). I add custom buttons to BGE and implement my own
draw functions.
However when I launch the engine, I get an error:
ERROR: Could not open window
I'm using Python's "subprocess.Popen" to launch the