SFML community forums

Bindings - other languages => Python => Topic started by: wurzeldrei on June 29, 2008, 06:34:58 pm

Title: Problem with views and python
Post by: wurzeldrei on June 29, 2008, 06:34:58 pm
When I use
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?
Title: Problem with views and python
Post by: Laurent on June 29, 2008, 06:46:25 pm
Yep, there are a few bugs in PySFML 1.2; I think this one is already known and fixed for 1.3.
Title: Problem with views and python
Post by: wurzeldrei on June 29, 2008, 07:17:14 pm
Is there a release date for the python bindings?
Title: Problem with views and python
Post by: Laurent on June 29, 2008, 07:27:43 pm
No, but it should be really soon.