Revision d7e08f2 by Tamito Kajiyama April 17, 2010, 23:47 (GMT) |
Major documentation updates. The original Freestyle API reference (http://freestyle.sourceforge.net/doc/html/index.html) has been incorporated into the Blender/Freestyle Python API implementation in the form of Sphinx-based embedded docstrings. Some C++-specific descriptions of classes and functions were revised so that they are suitable for Python programmers. Missing docstrings were filled, and sparse descriptions were extended. By means of the new documentation system for Blender, an up-to-date Freestyle Python API reference will be part of the Blender 2.5 documentation. |
April 17, 2010, 22:43 (GMT) |
SVN maintenance. |
Revision 4cf697d by Campbell Barton April 17, 2010, 19:05 (GMT) |
- for BGE mouse and keyboard events use tuples rather then lists - pep8 corrections |
Revision 392e1da by Campbell Barton April 17, 2010, 15:47 (GMT) |
bugfix and cleanup - BGE Shader.setSampler(name, index): index range check was wrong. - Compositor check for an invalid channel was incorrect. - getting the center of selected verts used an uninitalized z axis. - do_init_render_material() used && rather then & when testing for MA_TRANSP. - weight paint activate flipped bone used && rather then & for flag checking. |
Revision 3afd8d6 by Campbell Barton April 17, 2010, 08:55 (GMT) |
move camera lens/angle conversion to BLI_math |
Revision c00e7fb by Damien Plisson April 17, 2010, 08:33 (GMT) |
Quicktime audio export: force AAC sample rate to be <=48kHz to avoid later codec error + potential quicktime mem leaks fixes AAC Codec does not handle sample rates above 48kHz. |
Revision 795b438 by Dalai Felinto April 17, 2010, 06:52 (GMT) |
Patch #21789 - BGE Keyboard and Mouse Python types - by Mitchell Stokes(Moguri) The patch exposes mouse and keyboard read-only properties in the GameLogic module Also renames bge.keys to bge.events (* Note: name of bge submodules (logic, render, ...) may change before 2.5 final release [right Campbell?]). """ This patch adds two new types to the BGE: SCA_PythonKeyboard SCA_PythonMouse These two types allow users to make use of the keyboard and mouse without the need for a keyboard or mouse sensor. SCA_PythonKeyboard has an events property that acts just like SCA_KeyboardSensor.events. SCA_PythonMouse also has an events property to check for mouse events. Further more it supports getting and setting normalized cursor position (from 0.0 to 1.0) with SCA_PythonMouse.position. The cursor can be shown/hidden using SCA_PythonMouse.visible. """ Its use is similar with current mouse and keyboard controllers. With the exception of mouse position being normalized and writable as well (replacing Rasterizer.setMousePosition). Code Sample: ###### from bge import logic, events mouse = logic.mouse keyboard = logic.keyboard for key,status in keyboard.events: if status == logic.KX_INPUT_JUST_ACTIVATED: if key == events.WKEY: print(mouse.position) # move_forward() mouse.visible = True # turn cursor visible mouse.position = 0.5,0.5 # centralize mouse - use tuple ###### * Important Note: mouse.position still will not work properly for Letterbox mode. In order to fix letterboxing I may need to move the set x,y mouse function to inside the canvas code (to avoid duplicated code between mouse sensor and bge.logic.mouse). I'll leave this for another commit though. Thanks Mitchell for the work on that. |
Revision 6562e6a by Dalai Felinto April 16, 2010, 23:58 (GMT) |
PThreads "fix" for CMake / MSVC I heard that the actual solution would be to remove #include <pthread.h> from BLI_threads.h But in the mean time is not fair to CMake/MSVC to be the only system not building ;) |
Revision eea3d02 by Daniel Salazar April 16, 2010, 22:42 (GMT) |
Added missing/better tooltips for Array modifier |
Revision 2241299 by Geoffrey Bantle April 16, 2010, 16:19 (GMT) |
-->Fix for compile on MSVC Expansion of BASE_MATH_MEMBERS macro meant that two consecutive semicolons were in the source in most header files that used it. |
Revision d3f69c8 by Campbell Barton April 16, 2010, 15:19 (GMT) |
fix for uv project modifier, broke when angle was removed. |
Revision 7eb4eeb by Campbell Barton April 16, 2010, 09:31 (GMT) |
add the modules directory from the user scripts path (if it exists) |
Revision 182587f by Campbell Barton April 16, 2010, 08:17 (GMT) |
[#22045] Memory leak in Mathutils.Matrix own fault when adding mathutils callbacks, generic destructor didnt free the matrix accessor array, made the array apart of the matrix struct since its not worth malloc'ing to save at most 16bytes. |
April 16, 2010, 08:14 (GMT) |
Fix [#21559] Loopcut and scale problem. Force mesh out of face select mode and into edge mode when doing loop cut - it left an invalid edge selection in face mode, especially with edge slider afterwards. |
Revision 7c791ad by Sergey Sharybin April 16, 2010, 08:13 (GMT) |
Grease pencil->beizer curve conversion fix: handles used to have the same coordinates as points. Also send additional notification at the end of conversion operator, which is needed for correct interface updating (active object could be changed in operator but interface wouldn't be updated). |
Revision 911c136 by Andrea Weikert April 16, 2010, 05:24 (GMT) |
Fix warning, also added error message for the case of no filename passed. |
April 16, 2010, 05:23 (GMT) |
Turned off 'Emulate 3 button mouse' in default startup blend. In this day and age most people have 3 button mice, so this option can now be the exception not the rule - causes enough issues with conflicts. This commit won't disturb existing saved configs. |
April 16, 2010, 04:44 (GMT) |
Fix for possible null pointer, from uncle entity in irc |
April 16, 2010, 04:24 (GMT) |
'Fix' [#21119] volumetric material always casts shadows Revealed hidden 'options' panel for volumes too. |
April 16, 2010, 02:14 (GMT) |
Fix [#21492] "Align to view" option from tools panel's operator part doesn't works. Also changed some usage of CTX_wm_region_view3d(C) to ED_view3d_context_rv3d(C) |
|
|
|


Master Commits
MiikaHweb | 2003-2021