Blender Git Commits

Blender Git "master" branch commits.

Page: 4254 / 5574

August 28, 2010, 08:00 (GMT)
After talking with Campbell, we came to the conclusion that it was probably best not to auto-import modules. To this end, I'm removing the automatic import of the bge module.
August 28, 2010, 07:07 (GMT)
Fix #23363: Layer buttons do not update when last object deleted

This happend because of incorrect order of calculating used layer mask and drawing
header. Added layer content changed notifier to recalc used layers when needed.
This also fixes header redrawing in "Move to layer" operator and when user
changes Object.layers in properties view
August 28, 2010, 02:07 (GMT)
Committing patch [#23278] (by me)

This patch allows a user to pass binary data to LibLoad() to load a blend file from memory instead of a file path. I don't know how useful this will be for others, but I've used it so far for:
* Decrypting .blend files and loading them without having to store the .blend on the hard drive
* Pulling .blend data out of an archive and loading it (again skipping the hard drive)

So, it seems the biggest use for this is skipping a bit of file IO (and possibly some security problems).

Example usage:
import bge

with f as open('myfile.blend', 'rb'):
data = f.read()

bge.logic.LibLoad('Name', 'Scene', data)
August 27, 2010, 23:14 (GMT)
bugfix [#23548] calling fcurves.new() results in EXC_BAD_ACCESS
August 27, 2010, 22:53 (GMT)
apply scons change from r31616 to cmake.
August 27, 2010, 22:22 (GMT)
patch [#23535] Fix for [23408] in Outliner plus other UI fixes there
from Alexander Kuznetsov (alexk)

Authors comments
---
- Rename textfield sometimes exceeded scroll bars' and window's borders.
- Restrict buttons were over not under the rename field.
- Restrict lines didn't go all the way.
- Because of 2.4x interface system, in 2.5 rows were shifted 2 pixels up.
- In Datablocks and User Preferences view bottom line was down by one.
- Rows in Datablocks, User Preferences and Keymap view didn't extend all the way but check boxes and text fields did. It was visible while scrolling horizontally or at right bottom corner.
- Vertical lines in Datablocks and User Preferences didn't stop at the last horizontal line after last row.

This patch fixes those problems.
P.S. I tested the vertical offset with value of 40 so it works perfectly.
August 27, 2010, 22:12 (GMT)
patch [#23522] UI fixing for recent Python API changes
from Filiciss Muhgue (filiciss)
August 27, 2010, 22:09 (GMT)
patch [#23537] Memory leak in compositor rotate node
from Jeroen Bakker (jbakker)
August 27, 2010, 21:42 (GMT)
Make sure correct python31 zip is unpacked when BF_DEBUG=True
August 27, 2010, 10:05 (GMT)
The duplicate Text option in the TexFace panel came from a bad rename of tex -> use_bitmap_text instead of use_image, so I'm adding the use_image (Tex) back to the TexFace panel.
August 27, 2010, 08:21 (GMT)
missed this with rna renaming.
Revision 125b82a by Matt Ebb
August 27, 2010, 07:44 (GMT)
Fix [#23451] Render View, one plus button too much
August 27, 2010, 07:32 (GMT)
bugfix [#23220] .x3d export not exporting UV correctly
- UV texture coords were never written.
- TexFace with no material resulted in an invalid XML file (unclosed tag)
- freewrl wouldn't parse "FALSE", needs to be "false"
- the ID data name was being written as the filename, so in many cases images wouldn't load.
August 27, 2010, 06:11 (GMT)
bugfix [#23534] Custom Properties not showing in OBJECT panel
Revision 3912f55 by Joshua Leung
August 27, 2010, 04:43 (GMT)
Bugfix #23504: Axis-Angle Rotation keyframes were not being inserted correctly when using the 'Rotation' Keying Set
August 27, 2010, 04:43 (GMT)
OBJ export nurbs curves now export again.
August 27, 2010, 04:07 (GMT)
OBJ Import support for nurbs curves back, remove some commented code.
August 27, 2010, 02:33 (GMT)
rna api
obj.add_vertex_group() --> obj.vertex_groups.new()
obj.add_vertex_to_group() --> obj.vertex_groups.assign()

note: obj.vertex_groups.assign() will be very slow, need to have this take a list rather then 1 vertex at a time.
August 27, 2010, 01:50 (GMT)
speedup for pyrna boolean checking.
if bpy.data.objects: ...

Would get loop over the entire collection, instead see if this collection has a single item.
August 27, 2010, 01:23 (GMT)
move dopesheet UI template from C to python
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021