1
Python / Problem with views and python
« on: June 29, 2008, 06:34:58 pm »
When I use
and later
I get an "Segmentation fault (core dumped)" error, window is a RenderWindow-Instance and WIDTH and HEIGHT are 1024 and 700 which is the size of the RenderWindow, too. I'm usind linux.
I use Version 1.2, because there is no python-binding for 1.3, is this a problem with the library?
Code: [Select]
view=sf.View(sf.FloatRect(0.0,0.0,WIDTH,HEIGHT),1)
and later
Code: [Select]
window.SetView(view)
I get an "Segmentation fault (core dumped)" error, window is a RenderWindow-Instance and WIDTH and HEIGHT are 1024 and 700 which is the size of the RenderWindow, too. I'm usind linux.
I use Version 1.2, because there is no python-binding for 1.3, is this a problem with the library?