Blender Git Commits

Blender Git "master" branch commits.

Page: 2716 / 5574

January 9, 2015, 17:35 (GMT)
BKE: Add 'mesh remap' code.

This is the (big!) core of mesh transfer data, it defines a set of structures
to represent a mapping of mesh elements (verts, edges, polys of loops) between
two arbitrary meshes, and code to compute such mappings.

No similarity is required between source and destination meshes (though results
when using complete different meshes are rather unlikely to be useful!).

This code is not bound to data transfer, it is defined to be as generic as possible,
and easy to reuse or extend as needs arise.

Several methods of mapping generation are defined for each element type,
we probably will have to adjust that in future (remove useless ones, add
new ones...).

For loops, you can also define islands (for UVs e.g.) so that loops of a same
destination polygon do not 'spread' across several source islands.

Heavily reviewed and enhanced by Campbell, thanks a lot!
January 9, 2015, 17:06 (GMT)
Fix texture sampling with generative modifiers - sample backbuffer
returns indices in mesh face range
January 9, 2015, 14:29 (GMT)
Fix T43174: "Record animation" does not update fcurve handles

`INSERT_FAST` implies you call `calchandles_fcurve()` at the end...
For now, since we do not store edited FCurves nor can we get them easily
(requires RNA...), just update handles of all fcurves, it's much more
performant than removing usage of `INSERT_FAST` anyway.
January 9, 2015, 12:47 (GMT)
BLI_string: BLI_str_ends_with -> BLI_str_endswith

Loosely following Python str convention.
January 9, 2015, 12:33 (GMT)
Fix for GTest
January 9, 2015, 12:27 (GMT)
Fix rotate around selection only working if object is at origin for
texpaint
January 9, 2015, 12:03 (GMT)
BKE bvhutils: cleanup and refactor to make it more flexible.

You can now use lower-level '_ex' versions of bvh creators to only use part of
the mesh's elements in the BVH, and/or create bvh from non-DM sources.

Needed for transfer data.

Note edges extend version of bvh creator is not added here, not needed so far.
January 9, 2015, 12:03 (GMT)
BLI_math: add vector's dot_v3v3v3() func, for when you have three points instead of two vectors.
January 9, 2015, 12:03 (GMT)
BLI_rand: add a function returning a random point whithin given 2D triangle.

Needed by transfer data.
January 9, 2015, 12:03 (GMT)
BLI: add 'A*' (AStar) shortest path solver algorithm.

Needed for transfer data.
January 9, 2015, 11:16 (GMT)
Gooseberry animation request: Paste flipped pose in action
and graph editor.

This was a tricky commit that was not so straightforward to make work.
The information for bones is not easy to come by in the animation curves,
however we do have some string manipulation tricks to make it happen.

Testing in gooseberry worked for the rigs there, commiting to master now
January 9, 2015, 08:53 (GMT)
Fix T43159: Copying of linked datablocks using relpath leads to invalid paths in new copies.

Propper fix reverting most of rB60e70c0c6014e5, which was only partial specific fix.
This code uses generic `BKE_id_lib_local_paths()` func to handle all possible paths.

Reviewers: sergey, campbellbarton

Differential Revision: https://developer.blender.org/D977
January 8, 2015, 20:31 (GMT)
Fix T43154: Extrude edges ignored isolated verts

Also cleanup extrude code.

- remove normal calculation.
- remove return values for transform type.
- use enums.

Thanks to Psy-fi for finding the initial fix.
January 8, 2015, 17:23 (GMT)
DDS missed newline printing errors.
January 8, 2015, 16:17 (GMT)
Fix gtest linking on ubuntu and do minor cleanup.

Generally for build systems, libraries that do not depend on other
libraries, such as system libraries, OpenGL etc always go at the end.

We could even get rid of some duplicate dependency libraries here but
auto duplication by build systems and differences between OSs make this
difficult.

GTest still duplicates all libraries twice to solve some issues which is
weird (maybe libs are not sorted correctly for some reason? needs
investigation)
January 8, 2015, 13:38 (GMT)
Fix T43159: Copying of linked datablocks using relpath leads to invalid paths in new copies.

Simply have to rebase onto main filepath when copying, if source datablock is lib and path is relative.

Afaict, only affected Image and Text datablocks. MovieClip would also be a candidate, but has
no copy implemented currently.
January 8, 2015, 12:01 (GMT)
correct permissions
January 8, 2015, 11:53 (GMT)
exclude git/arc files from tgz archive
January 8, 2015, 11:47 (GMT)
Fix crash in texture paint sampling when sampling materials without
textures slots
January 8, 2015, 09:43 (GMT)
Fix for wrong boolean flag check

This fixes obvious overflows when checking bitflags, who knows how much
undiscovered issues exists in the code still..
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021