Closed krychu closed 12 years ago
Hi,
When I try to use shape.size (e.g., var = shape.size) where shape is an instance of sf.RectangleShape I get:
Exception TypeError: TypeError("Expected Vector2f or tuple, found <type 'int'>",) in 'sfml.convert_to_vector2f' ignored (276.0, 276.0)
I guess something is wrong in the getter method of the property size?
Thanks, k
Thanks, it should be fixed now. It was a just a test snippet that I left out. :/
Thanks
Hi,
When I try to use shape.size (e.g., var = shape.size) where shape is an instance of sf.RectangleShape I get:
Exception TypeError: TypeError("Expected Vector2f or tuple, found <type 'int'>",) in 'sfml.convert_to_vector2f' ignored (276.0, 276.0)
I guess something is wrong in the getter method of the property size?
Thanks, k