Blender Git Commits

Blender Git "master" branch commits.

Page: 4514 / 5574

November 16, 2009, 20:50 (GMT)
Fixing keymap export:
- Didn't support new userdef keymaps (new "active" rna function to get the active version of a keymap)
- Didn't support modal keymaps (new "modal" param to add_keymap function, new "add_modal_item" function on keymaps (both functions now make sure the keymap is of the right type))
November 16, 2009, 20:16 (GMT)
bpy/rna methods to find properties (works nice with autocomp!)
keys(), values() & items()

ed...
print(bpy.context.active_object.keys())

Possible name conflict here, need to keep an eye on it.
November 16, 2009, 20:02 (GMT)
2.5 Texture RNA:
* Alphabetical Order for Texture Types, this way it's easier to find the texture inside the drop down.
November 16, 2009, 19:18 (GMT)
missing include
November 16, 2009, 19:03 (GMT)
ID property access from python for pose channels, bones and any ID objects.
The advantage with this is that global property definitions are not needed to add a property to an object.

to avoid confusion these are accessed like a dictionary (closely matching how the BGE accesses properties)

ob["mySetting"] = 1.0

bone["foo"] = {"one":1, "two":2.1, "three":"Three"}

if "foo" in bone: print("prop found...")

At the moment these can also be accessed as attributes, will be changed shortly. eg.
bone.foo == bone["foo"]

November 16, 2009, 18:56 (GMT)
update idproperty python api for python 3.1
- removed 'group.has_key("key")', use... '"key" in group' instead
- removed verbose float and int conversions that are not needed
- fixed memory leak
November 16, 2009, 18:53 (GMT)
python api for ID property access by Joseph Eager, copied from blender 2.4x.
November 16, 2009, 16:07 (GMT)
Added single column support to modifiers
Tiny cleanups and improvements in some modifier layouts
November 16, 2009, 14:29 (GMT)
un-initialized variable, fix for own recent commit
November 16, 2009, 13:59 (GMT)
add hook in vertex and control point menu's, Ctrl+H

TODO's
- add for lattice
- break up add_hook
- add other hook operators
Revision 88fe2d1 by Joshua Leung
November 16, 2009, 12:44 (GMT)
Bugfix: Remove drivers button was broken

Somehow this worked here, even though the pointer being referenced was supposed to have been freed already...
Revision a12c2a8 by Joshua Leung
November 16, 2009, 12:33 (GMT)
Constraints: Code cleanup

* Removing duplicate api functions
* Shuffled around newly added api functions to make the ordering more consistent
* Fixes for a few bugs in the api functions as I checked over them
* Replaced most of the #defines for flags and modes with enums
November 16, 2009, 11:11 (GMT)
- fcurve modifiers.new()/remove()/active
- renamed .add() to .new() for rna collection functions since they dont add an existing item.
- remove 'name' as an argument from the new driver target function, better to keep the api minimal and let scripters use the data api for editing values after.
- added some api functions to keep rna api from becoming a mess.

November 16, 2009, 10:10 (GMT)
fix for python UI glitch, need to make view3d active_pchan & active_bone's (since they dont check layers atm)
November 16, 2009, 09:20 (GMT)
functions returning non ID pointers that relied on having the ID set could crash, (adding a pose constraint crashed in one testcase)
now use the functions ID pointer.
Revision 3a19c34 by Joseph Eagar
November 16, 2009, 08:26 (GMT)
fix for materials not displaying in object mode wiht subsurf
November 16, 2009, 02:52 (GMT)
bge: fix for "dome mode not working with Letterboxing".
This bug was introduced after commit # 24102 (BGE: when letterbox is enabled use the camera framing as a clipping area) reported in IRC by Pete Carss (domejunky)

*) an extra stub fix for recent commit. By the way: we want to have blenderplayer running in blender 2.5 beta0. Therefore if you are doing big changes in the last minutes (Friday, Saturday??) It would help a lot if you could enable blenderplayer in your builds. links problems are really easy to fix)

**) an typo I spotted in recent mesh dynamic load in bge.
Revision aa739e7 by gsr b3d
November 16, 2009, 00:44 (GMT)
Add include path to find BLO_readfile.h.
November 15, 2009, 23:58 (GMT)
BGE: dynamic loading patch commited. API and demo files available here: https://projects.blender.org/tracker/?func=detail&aid=19492&group_id=9&atid=127
November 15, 2009, 23:48 (GMT)
bpplayer compiling fixes: ([#19890] Getting the Blenderplayer to build again by Mitchel Stokes (moguri) and some changes form mine)

1) SetDisplayArea was created in Blender but we forgot to set it in the player
2) Fix some SCons incs (using lists instead of strings)
3) added more nasty stubs calls (this file is getting big)

* typo fix from last commit

**) it's raining with bolts here and I have to turn the internet off. I couldnt hard test this commit but it looks like working. sorry if sometihng go wrong
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021