Blender Git Commits

Blender Git commits from all branches.

Page: 2473 / 2888

November 25, 2014, 19:05 (GMT)
Islands 'TubeCase' WIP: More fixes, everything is mostly hooked up now.

Quick tests shows everything seems to work as expected so far.
And, divine surprise, performances seem pretty good!

Note we limit AStar to a small number of steps (4 currently),
reasoning is, if we map highpoly (dst) onto lowpoly (src), this should be
enough in most cases (smaller dst polys onto larger ones are unlikely to span
over more than two or three src polys). And in reverse case, taking care of
islands does not make much sense anyway, result shall be crappy anyway.

Remaining TODOs:
* Finish cutting edges handling (right now nothing is done yet to solve issues!).
* Cleanup/reorganization (AStar part has been designed as generic as possible,
will go to BLI), names, etc.
* Double, triple and quadruple checks of mem handling (*very* easy to get a mem leak
in such code :/ ).
November 25, 2014, 19:04 (GMT)
Merge branch 'master' into mesh-transfer-data
November 25, 2014, 16:55 (GMT)
From review: changes in BKE_image_has_anim() and BKE_image_has_packedfile()

Comments by Sergey Sharybin:

* If packedFile becomes NULL for some and ima->packedfiles has still
elements this sounds like a horrible error happened somewhere.

* If anims has items then the image is an animation. Imagine situation
when you load movie file in image editor, save .blend file, then
remove the movie file and re-load the file. Seems this case should be
considered image is an animation i guess.
November 25, 2014, 15:44 (GMT)
From review: revert uneeded change in branch
November 25, 2014, 15:39 (GMT)
From review: use BLI_duplicatelist and fix for copy_image_anims

It makes no sense to have a ImageAnima when the struct anim itself is
NULL;
November 25, 2014, 15:39 (GMT)
From review: image is calloc'ed, no need to initialize ListBases to NULL
November 25, 2014, 15:39 (GMT)
From review: use BLI_freelistN
November 25, 2014, 15:39 (GMT)
From review: use viewname from the active render engine (instead of passing it to RE_display_update_cb)
November 25, 2014, 15:39 (GMT)
From review: fixing GPL header
November 25, 2014, 15:39 (GMT)
From review: SwitchViewNode - use BLI_findstringindex
November 25, 2014, 15:39 (GMT)
From review: renaming functions: adding _get
November 25, 2014, 15:39 (GMT)
From review: using image signal to handle needed updates after reload or image free
November 25, 2014, 15:39 (GMT)
From Review: clarify function explanation
November 25, 2014, 15:35 (GMT)
Merge remote-tracking branch 'origin/master' into multiview

Conflicts:
source/blender/editors/space_view3d/view3d_draw.c
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesdna/DNA_space_types.h
November 25, 2014, 15:31 (GMT)
Merge branch 'master' into viewport_experiments

Conflicts:
source/blender/editors/space_view3d/view3d_draw.c
source/blender/gpu/intern/gpu_extensions.c
Revision 5004541 by Lukas Toenne
November 25, 2014, 13:44 (GMT)
Reconstruct most basic particle data when applying the hair edit, so
particle hairs remain visible.

Note that currently the hair root location (num/num_dmcache, fuv, foffset)
is not stored from edit data, so all hairs end up in a default location.
Revision de299e0 by Lukas Toenne
November 25, 2014, 13:44 (GMT)
Store hair edit data in particle systems and manage it in the operator
for entering/exiting the edit mode.
Revision f790945 by Lukas Toenne
November 25, 2014, 13:44 (GMT)
Moved code for the hair edit data structures to blenkernel.

This makes it work more like editmesh, and avoid the awkward and
basically bad-level approach in particles, where the edit data is an
anonymous pointer in particle systems together with a callback for
freeing.
Revision ad8d3c4 by Lukas Toenne
November 25, 2014, 13:44 (GMT)
New edit mode for hair.
Revision 8b7c54e by Lukas Toenne
November 25, 2014, 13:44 (GMT)
Finished the particle-to-edit conversion function.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021