Blender Git Commits

Blender Git "master" branch commits.

Page: 4659 / 5574

June 30, 2009, 09:10 (GMT)
Export textures mapped to diffuse, ambient, specular, emission and reflective colors.
Input is always assumed to be UV.

Texture/UV set mapping is not done yet.
June 30, 2009, 06:27 (GMT)
2.5 file browser
* adding GPL copyright header.
June 30, 2009, 01:17 (GMT)
Measure build time...
*as expected it's a lot faster on BVH
June 30, 2009, 00:42 (GMT)
Python API
Mathutils support for subclassing Vector, Quat, Euler and Matrix types.

Removed C docstrings, prefer to make sure our epydocs are well maintained rather then duplicate, vague doc strings.
Will convert scripts to detect missing docs from the BGE.
June 29, 2009, 23:21 (GMT)
2.5 file browser
* remove '.' and '..' from file browser list. sigh!
* removed delete buttons from automatically added bookmarks (Desktop and Documents)
Note: please check on non-Windows platforms
June 29, 2009, 22:16 (GMT)
2.5 file browser
* bookmark operators: add and delete bookmark
* first start at menus in file browser: Directory and Bookmarks
* Adding a bookmark via menu or via CTRL+B
* Remove a bookmark with the X button next to it.
June 29, 2009, 21:50 (GMT)
Revision 84cd5a6 by Tom Musgrove
June 29, 2009, 21:07 (GMT)
This commit adds Alt-LMB as an alternative to MMB, and CTRL-ALT-LMB as an alternative to CTRL-MMB so that laptop users can use 2.5
June 29, 2009, 20:23 (GMT)
2.5 filebrowser
* start of filebrowser RNA
* system files, bookmarks, etc. now nicely inside panels to allow collapsing etc.
* filebrowser header now defined in space_filebrowser.py

TODO:
* button type for bookmarks etc. not final yet, at least should get centered still. Suggestions welcome here.
June 29, 2009, 20:15 (GMT)
*forgot this file
June 29, 2009, 19:48 (GMT)
*make type of acceleration structure changeable at runtime
*added some counter code (test/hits) for primitives and raycasts
Revision 5d49168 by gsr b3d
June 29, 2009, 19:46 (GMT)
Fix compiler warning, make for body explicit.
June 29, 2009, 19:37 (GMT)
2.5: fix for compile error after recent search menu commit.

June 29, 2009, 19:15 (GMT)
RNA

Implementation of RNA side of foreach_get/foreach_set,
Campbell will do python code.

Three functions for efficiently setting some property for all
items in a collection. RNA_property_collection_raw_array gives
access to the properties as an array with length, stride, and
type specified, if this is possible, i.e. not when it uses a
ListBase, or if a manual get/set function is implemented.

Two other functions take a C array pointer and get/set it
using the a collection + property name, using efficient array
access if possible, and otherwise using slower RNA iterator.

RNA_property_collection_raw_get
RNA_property_collection_raw_set

The number of type conversion required here got a bit out of
hand, it could be more efficient still if checking for more
cases, but function is already long enough.


Example: http://www.pasteall.org/6362/c

June 29, 2009, 12:53 (GMT)
Added multiple UV layers export.
Next: texture/UV binding.
June 29, 2009, 12:06 (GMT)
BGE PyAPI support for subclassing any BGE game type from python, scripters define extra functions on gameObjects.
Adding a UI to set the type on startup can be added easily.

# ----
class myPlayer(GameTypes.KX_GameObject):
def die(self):
# ... do stuff ...
self.endObject()

# make an instance
player = myPlayer(gameOb) # gameOb is made invalid now.
player.die()

# ----

One limitation (which could also be an advantage), is making the subclass instance will return that subclass everywhere, you cant have 2 different subclasses of the same BGE data at once.

June 29, 2009, 11:29 (GMT)
2.5

Search Menu: added feature that on opening, it shows the
current ID block, and selects it. Same can be used for other
searches, just pass on pointer to active item for the search
callback.

Also fixed arrow triangle draw for search.

Revision 2c3e885 by Joshua Leung
June 29, 2009, 03:02 (GMT)
NLA SoC: Insert Keyframe Operator Tweaks (Anim Editor Versions)

* Insert Keyframe (IKEY) operator for Graph Editor
* Renamed the DopeSheet version to make it more consistent with the other keyframing operators
June 29, 2009, 02:37 (GMT)
fix for bug while importing transparent faces:

image.has_data can't be called before you load an image, otherwise it will return false even for valid images.
The workaround is to try to run image.glLoad() before. That will crash if the image is corrupted (for we are using try/catch here).

Campbell (ideasman42) thinks it would be better to have an api call proper for that. Since 2.4xx is close to its end I really don't think it's time to keep working in its API. Specially if we have similar functions doing what we need.

@ Arystanbek (kazanbas): I'm done with the obj fixes I told you. You are free to go with the importers :)
You may want to take a look at implementing a proper image.load() to 2.5 as Campbell suggested.
June 29, 2009, 02:25 (GMT)
BGE Py API using python3 c/api calls. include bpy_compat.h to support py2.x
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021