Blender Git Commits

Blender Git "master" branch commits.

Page: 4156 / 5574

December 24, 2010, 04:24 (GMT)
use slicing for exporters for some speedup, no functional change.
3ds also uses non tuple __slots__ and had unused default values for some classes.
December 24, 2010, 04:21 (GMT)
fix for exporting OBJ, materials when no world was set. also use slicing to get tuples.
December 24, 2010, 03:51 (GMT)
return typle for mathutils slice's.
The main advantage with this is that its close to twice as fast to do 'vertex.co[:]' then 'tuple(vertex.co)', this is common for writing a vertex array.
the correct python behavior in this case is to return a copy of the original type, however euler and quats don't support different sizes so we cant do so easily.
December 23, 2010, 17:47 (GMT)
Customdata mask recode caused crashes, sloppy work here, but probably
caused by Campbell using too much Python. In C code you really need
{ and } for multiline if's. :)

December 23, 2010, 13:16 (GMT)
Bugfix #25341

Child-of constraint issue: on adding, it wasn't checking owner
correctly for Bones, resulting in a constraint working in wrong
space; it looked as if transform was applied double when moving
the object. Only adding via Py API went wrong btw.

Also found a silly check for drawing constraints, which caused
constraint initialization to happen for every object on every
redraw!

Implementation note: con->flag CONSTRAINT_SPACEONCE was only used
for child-of constraints in Bones, so I've patched it on file
reading to always set the flag. Marked with XXX, so it can be
removed one day. Now at least things get corrected well for
imported armatures.




December 23, 2010, 10:34 (GMT)
Bug #25354

In some cases, a LMB-drag was drawing a stippled line. Leftover of
WIP code for support of gestures in Blender.
Disabled drawing for now, until gestures is back in control.

December 23, 2010, 09:42 (GMT)
Make FBX export respect use_deform bone option
December 23, 2010, 09:21 (GMT)
Added Python wrappers for the following Operators static methods:
- getViewEdgeFromIndex()
- getChainFromIndex()
- getStrokeFromIndex()
December 23, 2010, 09:19 (GMT)
Fix for the FILE directive to recursively include *.h files.
December 23, 2010, 04:26 (GMT)
remove View3D.customdata_mask, since its stored in the scene now there is no need for each view to store every views combine data mask.
December 23, 2010, 04:16 (GMT)
Fix for multiple modifier stack calculations per frame.

Since 2.5x blender has been using CD_MASK_BAREMESH for updating objects since object_handle_update() no longer has access to G.curscreen to calculate the mask from viewports.

The problem with this is after an initial calculation, CD_MASK_MTFACE may be required on draw, so it would recalculate the modifier stack multiple times per frame.
One case which caused this is armature animated mesh with texface in a dupligroup.

Fix this by having customdata_mask member in the scene, this isn't great design but at least fixes the bug and only changes a few files.
December 23, 2010, 02:43 (GMT)
use ICON_NULL define rather then 0, makes UI calls less confusing. (no functional change)
eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);

Revision ff3200d by Joseph Eagar
December 23, 2010, 02:14 (GMT)
Edge slide works again, some small issues may remain though.
December 23, 2010, 00:19 (GMT)
fix for PyC_LineSpit() finding the current line of the frame's code object.
December 22, 2010, 23:16 (GMT)
fix [#25353] X3D Export generates AttributeError: 'NoneType' object has no attribute 'texture'
December 22, 2010, 23:09 (GMT)
rename blenderlib to blender_add_lib
December 22, 2010, 22:54 (GMT)
remove bullet CMakeLists.txt files, blender uses its own.
Revision 29799bf by gsr b3d
December 22, 2010, 22:15 (GMT)
Compact -I paths in makefiles for more readble files/output.
Also some white space cleaning and removal of redundant parameter.
December 22, 2010, 21:39 (GMT)
remove reload() from builtins since python3 no longer uses this.
use imp.reload now.

Should use import hooks but for now replace imp.reload with our own reload as the builtin reload was replaced before.
December 22, 2010, 21:38 (GMT)
Fixed stupid typo with detecting corners of source mdisp.

Haven't noticed before because destination is a copy of source for now,
so there would be always the same count of corners.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021