Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Problem with views and python  (Read 7366 times)

0 Members and 1 Guest are viewing this topic.

wurzeldrei

  • Newbie
  • *
  • Posts: 6
    • View Profile
Problem with views and python
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Problem with views and python
« Reply #1 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.
Laurent Gomila - SFML developer

wurzeldrei

  • Newbie
  • *
  • Posts: 6
    • View Profile
Problem with views and python
« Reply #2 on: June 29, 2008, 07:17:14 pm »
Is there a release date for the python bindings?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Problem with views and python
« Reply #3 on: June 29, 2008, 07:27:43 pm »
No, but it should be really soon.
Laurent Gomila - SFML developer