blender/source
Dalai Felinto a8bca52d09 BGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically)
In Blender 2.49 the win width and height were been calculated including an extra pixel (e.g. a fullscreen editor would be (width + 1) by (height + 1) )
In opposite to that, Blender 2.5 window/editor code were fixed to have the exact width,height size.
So although the BGE canvas code was still the same as 2.49 it was producing a wrong result.

I'm also adding some commentaries in the setViewport code. BGE is setting the viewports 1 pixel larger.
the setViewport command is been used as if one should pass (minx, miny, width, height), while it should be (minx, miny, maxx, maxy). I will take care of that later, if any one has extra comments on that, please let me know.
2010-04-11 01:53:21 +00:00
..
blender Solidify Modifier 2010-04-10 22:12:10 +00:00
blenderplayer Revert a crappy line from revision 28060. 2010-04-07 05:48:52 +00:00
creator bugfix [#21812] Crash with -b -P on blend files saved with older blender versions. 2010-04-08 14:39:16 +00:00
darwin OS X Makefiles: 2010-01-03 20:35:13 +00:00
gameengine BGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically) 2010-04-11 01:53:21 +00:00
icons missed a file in previous crosscompiling related commits 2010-02-18 06:53:10 +00:00
kernel correct fsf address 2010-02-12 13:34:04 +00:00
CMakeLists.txt correct fsf address 2010-02-12 13:34:04 +00:00
Makefile Change order of linking slightly so things link. 2010-01-22 16:28:16 +00:00
nan_compile.mk Fix #21374: OS X Makefiles missed optimization flags in 2.5 since at least 2010-03-05 14:29:48 +00:00
nan_definitions.mk OSX buildscripts update following ffmpeg precompiled libs update 2010-02-22 16:34:27 +00:00
nan_link.mk correct fsf address 2010-02-12 13:34:04 +00:00
nan_subdirs.mk correct fsf address 2010-02-12 13:34:04 +00:00
nan_warn.mk correct fsf address 2010-02-12 13:34:04 +00:00
SConscript this restores building on mingw with Collada support, also it restores cross compiling, thanks to Sergey Sharybin for the patch. Note that the icons for linux cross might not be committed here, if not i'll add them in another commit 2010-02-01 18:39:41 +00:00