Blender Git Commits

Blender Git "master" branch commits.

Page: 4734 / 5574

April 3, 2009, 19:09 (GMT)
BGE API cleanup: RandomActuator.
Revision 3b23224 by Janne Karhu
April 3, 2009, 18:13 (GMT)
Fix for [#18372] object-particle in other layer not editable correctly.
April 3, 2009, 16:26 (GMT)
2.5

Next part of UI drawing migration coding.

Now all calls go via the new wrapper; apart from some special types
(Colorband, HSV picking, Curve, Normal) they draw OK.

Also added new menu system, nicer shadow, and using same AA code.
Used dark theme suggestion from William btw. Don't get afraid, it'll all
be tweakable. :)

Next steps:
- move over all special button types
- make external calls for AA draw (nodes for example)
- remove old draw code
- make new colors save in theme

I also have to check on how to treat icons in buttons; this is a bit
cumbersome in cases.

Then the layout system comes back on agenda, will go over this with
Brecht tomorrow.

So; all WIP, be patient!


April 3, 2009, 15:08 (GMT)
Some users could not build with python 2.5, hopefully this fixes it.
Revision bc789af by Janne Karhu
April 3, 2009, 14:54 (GMT)
Cleanup of particle object visualization code. No new features and hopefully no new bugs.
April 3, 2009, 14:51 (GMT)
Python BGE API
- Initialize python types with PyType_Ready, which adds methods to the type dictionary.
- use Pythons get/setattro (uses a python string for the attribute rather then char*). Using basic C strings seems nice but internally python converts them to python strings and discards them for most functions that accept char arrays.
- Method lookups use the PyTypes dictionary (should be faster then Py_FindMethod)
- Renamed __getattr -> py_base_getattro, _getattr -> py_getattro, __repr -> py_base_repr, py_delattro, py_getattro_self etc.

From here is possible to put all the parent classes methods into each python types dictionary to avoid nested lookups (api has 4 levels of lookups in some places), tested this but its not ready yet.

Simple tests for getting a method within a loop show this to be between 0.5 and 3.2x faster then using Py_FindMethod()

Revision e30cb79 by Janne Karhu
April 3, 2009, 14:50 (GMT)
Major cleanup of particle render & drawing code. No new features and hopefully no new bugs.
Revision 5934757 by Janne Karhu
April 3, 2009, 14:41 (GMT)
Bug fix: hair or child particles didn't react to density texture.
Revision 3598f96 by gsr b3d
April 3, 2009, 12:11 (GMT)
Automatic consistency check of generated vs commited .mo files.
Yeah, this should had gone to trunk, but as the first patch was applied here,
let's follow on and wait for merge.
Revision 60bd7d1 by Joseph Eagar
April 3, 2009, 04:36 (GMT)
fix for last commit, needed some additional checks
April 3, 2009, 04:12 (GMT)
BGE Python api
Added the method into the PyType so python knows about the methods (its supposed to work this way).
This means in the future the api can use PyType_Ready() to store the methods in the types dictionary.
Python3 removes Py_FindMethod and we should not be using it anyway since its not that efficient.
April 3, 2009, 03:52 (GMT)
Setting ignore_deprecation_warnings as 1 by default in GamePlayer
(in the embed BGE it is still 0)
Revision 8ca3012 by Joseph Eagar
April 3, 2009, 03:16 (GMT)
made grease pencil delete a frame if you delete all the strokes in it.
April 3, 2009, 02:16 (GMT)
BGE Python
- Bugfix for running dir() on all BGE python objects. was not getting the immediate methods and attributes for each class.
- Use attributes for KX_Scene (so they are included with dir())
- Override __dict__ attributes for KX_Scene and KX_GameObject so custom properties are included with a dir()

April 2, 2009, 21:53 (GMT)
MSVC9 project file update.
April 2, 2009, 20:01 (GMT)
Add clipping option to the internal font.

April 2, 2009, 19:28 (GMT)
Fixed an error checking in Curvature2DAngleF0D::operator().
Now the function results in 0 (radian) if the given Interface0DIterator
object has only 2 vertices, which is not considered an error.
April 2, 2009, 18:16 (GMT)
2.5

Added number slider drawing.
Color for dark part will be themeable. :) (optional rgb?)

April 2, 2009, 15:01 (GMT)
2.5

Some more work on UI drawing code, added a generic structure
for how widgets will be defined. It's still a wrapper on top
of old buttons. Docs follow still.

Some visual improvements;

- more button types supported (check render buttons)
- pressed state is shown
- better 'panel' triangle AA, and new divider style

Still a lot of work here. I expect the next days/weeks to
be much more coding too, had to catch up with a lot of other
Blender stuff. There's more (excitement) going on than code. :)

April 2, 2009, 14:38 (GMT)
2.5: weight paint mode fix for corrupted layer data, and added
a customdata layer specifically to store weightpaint colors
instead of abusing the vertex colors layers.

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021