Blender Git Commits

Blender Git "master" branch commits.

Page: 4151 / 5574

January 2, 2011, 10:05 (GMT)
CXX_Guardedalloc was complaining about freeing NULL pointers in VideoTexture. I've added guards around the deletes to prevent this.
January 2, 2011, 09:54 (GMT)
python api: rna array slices now return tuples rather then lists (fits with recent change made to mathutils).
minor improvements/cleanup to exporters.
Revision a6a2512 by Janne Karhu
January 2, 2011, 06:52 (GMT)
Pointcache code cleanup and disk cache compression options:
* Massive reorganization of pointcache code, things are now cleaner than ever.
* For all but smoke the cache is first written to memory when using disk cache and after that written to disk in one operation. This allows less disk operations and the possibility to compress the data before writing it to disk.
* Previously only smoke cache could be compressed, now the same options exist for other physics types too (when using disk cache). For now the default compression option is still "no compression", but if there aren't any problems this can be set to "light compression" as it's actually faster than no compression in most cases since there's less data to write to the disk. Based on quick tests heavy compression can reduce the file size down to 1/3rd of the original size, but is really slow compared to other options, so it should be used only if file size is critical!
* The pointcache code wasn't really 64bit compatible (for disk cache) until now, so this update should fix some crashes on 64bit builds too. Now all integer data that's saved to disk uses 32 bit unsigned integers, so simulations done on 64bit should load fine on 32bit machines and vice versa. (Important disk cache simulations made on 64bit builds should be converted to memory cache in a revision before this commit).
* There are also the beginnings of extradata handling code in pointcache in anticipation of adding the dynamic springs for particle fluids (the springs need to be stored as extradata into point cache).
* Particles were being read from the cache with a slightly wrong framerate. In most cases this probably wasn't noticeable, but none the less the code is now correct in every way.
* Small other fixes here and there & some cosmetic changes to cache panel, but over all there should be no functional changes other than the new disk cache compression options.
* This whole re-organization also seems to fix bug #25436 and hopefully shouldn't introduce any new ones!
January 2, 2011, 04:16 (GMT)
bugreport & fix [#25441] Copy Transforms Constraint head/tail fixin'
from Dan Eicher (dna)
Revision 9f88e0f by Janne Karhu
January 2, 2011, 03:55 (GMT)
Fix for [#25427] cloth or soft body crash un Undo
* Argh my bad, sorry about this!
* Now only the actual data array is saved to avoid constant re-allocations, but no relations to active data are kept.
* Also reverted Ton's quick fix for the crash as it's not needed anymore.
January 2, 2011, 02:48 (GMT)
report & fix [#25447] SceneObjects null pointer dereference crash
from Dan Eicher (dna)

noticed sequence swap also wasn't checking for None.
January 2, 2011, 02:11 (GMT)
geometry module
- rename functions from camel case.
- added docs for undocumented methods.
- minor functional changes with exceptions and accepting 3d/4d vectors where it makes no difference.

Renamed:
- geometry.Intersect -> intersect_ray_tri
- geometry.ClosestPointOnLine -> intersect_point_line
- geometry.PointInTriangle2D -> intersect_point_tri_2d
- geometry.PointInQuad2D -> intersect_point_quad_2d
- geometry.LineIntersect -> intersect_line_line
- geometry.LineIntersect2D -> intersect_line_line_2d
- geometry.BezierInterp -> interpolate_bezier
- geometry.TriangleArea -> area_tri
- geometry.QuadNormal, TriangleNormal -> normal
- geometry.PolyFill -> tesselate_polygon
- geometry.BoxPack2D -> box_pack_2d
- geometry.BarycentricTransform -> barycentric_transform
January 1, 2011, 23:53 (GMT)
removing epydocs for mathutils and geometry mododules (now they are in sphinx)
January 1, 2011, 19:48 (GMT)
Fix [#25442]: (Ghost Cocoa) Add missing initialization of associated object pointer when switching to/from fullscreen.
January 1, 2011, 17:52 (GMT)
Bugfix #25445

CTRL+R loopcut now shows header print with instructions.
User report was that Blender was freezing :)

January 1, 2011, 15:49 (GMT)
For non-gnu compilers, the __func__ doesn't exist.
Fix for commit of 2 hours ago.

January 1, 2011, 15:28 (GMT)
Bugfix, IRC report

Floor constraint didn't work: the defines for the enums were using
the wrong ones, the right ones are not logical... but code and dna
and old files assume these. Now it works :)

January 1, 2011, 13:49 (GMT)
Bugfix #25437

Crash in Bezier animation (inserting keys on control points in
curve object). The animation rna paths were not fixed after an
editmode session, which got fixed 2 weeks ago, but for all older
binaries the issue can still pop up.

The crash happened because the RNA array-itterator was not doing
a boundary check, even whilst the array size was passed on to the
itterator callbacks. With rna then writing far outside of valid
memory, very bad and unpredictable corruptions happen.

I've added a range check now, and a decent print to denote the
issue. An assert quit is useless, since a tab-tab on curve objects
will fix the channels nicely.

Example of warning print:
Array itterator out of range: Spline_bezier_points_lookup_int (index 30 range 2)


January 1, 2011, 13:20 (GMT)
BVH Importing native order eulers was broken, simplify conversion between rotation orders.
January 1, 2011, 10:38 (GMT)
bvh export
- write compatible eulers (no jumping as eulers change).
- write FPS.
- correct poll function incase bvh export is called without an armature.
January 1, 2011, 09:44 (GMT)
added bvh export operator & menu item, now user accessible.
January 1, 2011, 08:57 (GMT)
bvh export now works correctly with matrix multiplications and rad -> deg.
January 1, 2011, 08:44 (GMT)
pep8 cleanup
January 1, 2011, 08:35 (GMT)
initial 2.5x port, still need to fix up matrix multiplication orders.
January 1, 2011, 07:26 (GMT)
committing 2.4x bvh exporter, updating to 2.5x.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021