[Bf-python] Scene Scriptlinks and scale
Campbell Barton
cbarton at metavr.com
Tue Aug 23 05:39:32 CEST 2005
I should add, that you should not use glRasterPos2i if your scaling by a
floating point, use glRasterPos2f instead.
Where should this do in the docs?
Should there be a page on scriptlinks? or just add notes in the Scene docs.
- Cam
>Great info cam :0!
>
>-----Original Message-----
>From: bf-python-bounces at projects.blender.org
>[mailto:bf-python-bounces at projects.blender.org] On Behalf Of Campbell
>Barton
>Sent: Sunday, August 21, 2005 12:43 AM
>To: Blender Foundation Python list
>Subject: [Bf-python] Scene Scriptlinks and scale
>
>Hi All, I just found a problem.
> I have noticed that with openGL + scene, Scriptlinks the scale of
>glRasterPos is multiplied by the size of the Floating panels (ctrl +/-)
>
>This makes it impossible to draw at pixel accurate locations and also
>know where the mouse clicked in relation to the scriptlinks.
>
>- Cam
>
>
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list