Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-18Header file clean up and warning fixesJoseph Gilbert
- Mostly this cleans up the #includes and header files in the python project. - Warning fixes are mostly casting issues and misc fixes. General warning clean up. - #include Python.h MUST come as the first include to avoid the POSIX redefine warning in the unix makefiles - fno-strict-aliasing flag added to makefile to fix a unavoidable type punning warning in types.c
2004-10-07Another step in the Big Bpy Cleanup.Stephen Swaney
- move static declarations and data definitions out of headers. the BGL module still need cleaning. - move declarations out of modules.h and into appropriate .h files. modules.h still exists as a container for the few modules that need to #include almost everything. - all files now have a $Id tag and have been formatted by indent there are no changes to executable code. pre-commit versions are tagged with bpy-cleanup-pre-20041007 for the sake of paranoia.
2004-09-26Another round in the Great BPy Cleanup:Stephen Swaney
Run everything thru indent to cleanup spaces vs tabs. Clean up some of the comments by hand. BGL.c was not touched due to all that macro wackyness. There are no functional changes to the code. Pre-indent versions of source are tagged with tag bpy-cleanup-20040925 , just in case.
2004-04-11BPython: cleaning some bug tracker entries:Willian Padovani Germano
(excuse me for doing all in a single commit, but they are tiny fixes and it's bpython, that dark corner ...) #1025 - FileSelector SEGV on dynamic callback Category: Can't reproduce with current cvs, I'd say recent changes to fix another crash related to FileSelector in gui-less scripts solved this one, too. #1028 - Reserved button event number: Menu choices generate two events, one extra related to the menu itself, with value=4. Made bpython ignore this extra event. #1068 - FileSelector No file extension support: As Ton wrote there, Blender itself doesn't support this yet. But the requester also wanted Window.File/ImageSelector to accept a pathname. Done. Also updated doc. #959 - Segfault on background rendering: This happened in bg mode (blender -b filename -a, for example) when a script with the line "Blender.Redraw()" was linked to FRAMECHANGED events. As reported in the bug page, it was because curarea is NULL in bg mode. Made Redraw() check for this and not call functions that expected curarea in Redraw, like one to swap buffers. #1072 - Blender.Redraw() Segfault: Good catch : ). Scripts called from the scripts win that called Blender.Redraw() or Blender.Window.Redraw() would crash Blender because of a dirty pointer in Spacescript->script. Fixed.
2004-02-29Mathutils library for the python APIJoseph Gilbert
- support for quaternions, euler, vector, matrix operations. - euler supports unique rotation calculation - new matrix memory construction and internal functions - quaternion slerp and diff calculation - 2d, 3d, 4d vector construction and handling - full conversion support between types - update to object/window to reflect to matrix type - update to types/blender/module to reflect new module
2003-09-18Exppython:Willian Padovani Germano
- Window: implemented .SetCursorPos, .GetViewMatrix, .GetViewVector - Lamp: .setDist was not in the methods table: Fix by new bpython developer Stephen Swaney - Scene: .frameSettings was crashing Blender (pointed by jms) - Added site dirs to sys.path (patch by Stephen Swaney) - NMesh: small internal change (added pointer to parent object) - Object: function NMesh_FromPyObject has a new arg: pointer to obj - Docs: added docs for implemented functions, plus some more info
2003-09-03Exppython:Willian Padovani Germano
- Window: added .GetCursorPos() - Lamp: updated for NoDiffuse and NoSpecular modes - Registry: new module to handle persistent data - vector: made it correctly print only 3 values when vec->size==3: Fixes nmvert coords printed with a 4th 0.0 coordinate - Text: fixed crash on startup (Python 2.3, linux): added definition of the Text pyobject earlier, in Types.c
2003-06-28- More renaming all around to follow our conventionsWillian Padovani Germano
- Implemented partially Blender.Sys - Worked on issues related to sys, path - Took away most "debug" printfs
2003-06-24* Added more doc files for epydoc and a test for the camera module.Willian Padovani Germano
* Moved public declarations in camera and lamp to a new file: bpy_types.h. * Fixed minor bugs in material, rgbTuple and Lamp + other minor changes. * Made part of the changes to conform to decided naming conventions.
2003-05-09* Finishing renaming of interface.[ch] to EXPP_interface.[ch]:Willian Padovani Germano
removed old files -- should solve compile problems. * Updated Window.c to access a variable in Draw.c
2003-05-08* Added submodule Window, including FileSelector and ImageSelector:Willian Padovani Germano
Most of the code comes from bpython/intern/opy_window.c, but two new functions were added, to access the file and image selector windows in Blender. * Added submodules Draw (gui) and BGL (OpenGL wrapper): The code comes from bpython/intern/opy_draw.c, with minor changes to integrate it in the new implementation. * Made changes to Camera, Lamp and Image submodules: The implementation was improved. These files should be good starting points for interested new coders to look at, now. * Renamed interface.[ch] to EXPP_interface.[ch] to avoid conflict: There is another interface.h file in source/blender/include.