Blender Git Commits

Blender Git "master" branch commits.

Page: 4733 / 5574

April 5, 2009, 14:01 (GMT)
BGE Bugfixes (mostly in the py api)

KX_PolygonMaterial and KX_BlenderMaterial - Added a print function (would raise a python error on printing)

* Crashes *
KX_GameObject SetParent - Disallowed setting a parent to its self, caused a recursion crash.
KX_MeshProxy "materials" attribute was segfaulting because of my recent change - I was wrong, you do need to check material types (no idea why since they are both PyObject * at the base)
KX_VisibilityActuator - Wasn't initialized with PyType_Ready() making it crash on access (own fault)

* Crashes because of missing NULL checks *
KX_PolygonMaterial's "gl_texture" attribute wasnt checking for a valid m_tface
KX_GameObject - added checks for GetPhysicsController()
KX_RayCast::RayTest - didnt check for a valid physics_environment
KX_SceneActuator's getCamera python function wasnt checking if there was a camera.

Revision c99b9d7 by Joshua Leung
April 5, 2009, 11:26 (GMT)
Animato - RNA Wrapping:

RNA-Paths + Array Indices for Keying Sets, F-Curves, and Drivers are now editable. We could disable these later if need be, it is useful to be able to edit these (especially for debugging purposes now).
April 5, 2009, 10:03 (GMT)
- fixed errors with bge epydocs
- changed epy_docgen.sh so inherited attributes & methods are included inline for each type, removed source option since its not useful and makes the download bigger.
April 5, 2009, 08:48 (GMT)
added experimental KX_GameObject attributes "sensors", "controllers" and "actuators"
April 5, 2009, 07:41 (GMT)
Make materials use PyAttributeDef's
Revision 3fa7717 by Joshua Leung
April 5, 2009, 06:54 (GMT)
2.4x - Grease Pencil: Swapping the order of args for gpencil_frame_delete_laststroke() to be more consistent with the rest of the Grease Pencil API.
April 5, 2009, 06:08 (GMT)
BGE Python API
- made camera use PyAttributeDef's
- removed unneeded duplicate matrix type checks
- fixed own bug (added since 2.48a) that broke a converting 4x4 matrix to a PyObject

April 4, 2009, 15:54 (GMT)
Made KX_MeshProxy use PyAttributeDef. simplified getting the 'materials' attribute (no need to differentiate between types)
Added KX_GameObject 'meshes' attribute to replace getMesh(i)
April 4, 2009, 15:26 (GMT)
Improvements on error handling in the Python API.
April 4, 2009, 14:50 (GMT)
Relaxed type checking concerning boolean arguments so that not only
True and False but also various other boolean expressions (e.g., 0,
1, and None) are accepted.
Revision 9982217 by Janne Karhu
April 4, 2009, 14:34 (GMT)
Fix for: [#18273] reactor particle spowns to earlier.

Particle life "rand" value could be set above "1.0" allowing for negative particle lifetimes.
Revision d84dc44 by Janne Karhu
April 4, 2009, 12:48 (GMT)
Fix for [#18017] reactor particles affected by a curve guide emit at a wrong position.
April 4, 2009, 11:02 (GMT)
BGE Py API, mistake when redoing set action as a static function.
April 4, 2009, 09:54 (GMT)
include PyObjectPlus method in __dict__
April 4, 2009, 08:20 (GMT)
- should fix compiling with older python versions (<2.5)
- made the isA() function accept python types as well as strings.
- renamed _getattr_dict to py_getattr_dict
April 4, 2009, 04:56 (GMT)
fix for [#18484] Bullet Crash (possibly because of overlapping rigid body balls)
simple missing negative index check.
April 4, 2009, 02:57 (GMT)
moved more attributes from getattr into PyAttributeDef's
April 3, 2009, 23:30 (GMT)
2.5: Added basic insert/remove keyframes from UI buttons.

- I key over a button inserts a keyframe.
- Alt+I removes a keyframe.
- With right mouse button a menu with these options pops up.
- Buttons are colored green if the property is animated, yellow
if it is on a keyframe. I followed the colors from the UI
mockups, but the flicker on keyframes seems too distracting in
practice?

- This only works for properties on the ID itself at the moment,
path callbacks need to be filled in for all structs but mesh
still.
- It doesn't work when you're over a related label, that needs to
be made to work.
- I made it insert keyframes outside of any keyingset. Not sure
how this is supposed to integrate?

April 3, 2009, 20:03 (GMT)
Relaxed type checking concerning boolean arguments in class constructors
and __call__ methods so that not only True and False but also various
other boolean expressions (e.g., 0, 1, and None) are accepted.
April 3, 2009, 19:19 (GMT)
MSVC9 project file.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021