Blender Git Commits

Blender Git "master" branch commits.

Page: 2331 / 5574

July 6, 2016, 12:37 (GMT)
Cleanup/simplify/fixes BKE_object_is_libdata and BKE_object_obdata_is_libdata.

Removed checks for ob->proxy from the equation, you can totally have proxy objects
linked into another .blend file!
July 6, 2016, 12:11 (GMT)
Replace of (id->lib != NULL) check by meaningful macro.

Idea is to replace hard-to-track (id->lib != NULL) 'is linked datablock' check everywhere in Blender
by a macro doing the same thing. This will allow to easily spot those checks in future, and more importantly,
to easily change it (see work done in asset-engine branch).

Note: did not touch to readfile.c, since there most of the time 'id->lib' check actually concerns the pointer,
and not a check whether ID is linked or not. Will have a closer look at it later.

Reviewers: campbellbarton, brecht, sergey

Differential Revision: https://developer.blender.org/D2082
July 6, 2016, 11:58 (GMT)
writefile: simplify outliner treestore workaround

Instead of keeping a list of allocations, write to unique addresses
based on the BLI_mempool address since we know this is unique.
July 6, 2016, 09:15 (GMT)
Cleanup: redundant 4th index in sculpt PBVH

Since moving to MLoopTri this is no longer needed.
July 6, 2016, 06:43 (GMT)
Dyntopo: optimize edge collapsing

Checking if faces exist was a bottleneck,
use a simpler version of this function for triangles.

Gives approx 1.6x overall speedup (when many edges are being collapsed).
July 6, 2016, 06:32 (GMT)
Cleanup: group dyntopo utility functions
July 6, 2016, 01:42 (GMT)
Transform Snap: Replace pixel limit w/ 'dist_to_ray_sq'

When snapping to edge/vert, check the distance to the ray
instead of the screen-space pixel projection.

This also corrects the conversion of `dist_to_ray_sq` to `dist_px` which was being done incorrectly.

While this change was planned, it fixes T48791, caused by error in b01a56ee.
July 5, 2016, 20:26 (GMT)
Code cleanup: for Cycles compatible panels, use exclusion rather than inclusion list.

This shortens the list, and Blender render specific panels are added less often
than other panels anyway, so less chance to miss things.
July 5, 2016, 19:59 (GMT)
Render border: don't disable when drawing around the entire camera.

Differential Revision: https://developer.blender.org/D712
July 5, 2016, 19:59 (GMT)
Render border: skip unnecessary uncropping if the border covers the entire image.
July 5, 2016, 19:59 (GMT)
Render border: make it work together with with cache result / save buffers / full sample.

Differential Revision: https://developer.blender.org/D2080
July 5, 2016, 17:47 (GMT)
Dyntopo: missing PBVH update collapsing an edge

PBVH-nodes attached to the vertex to be deleted were updated,
but not nodes attached to the other vertex in the edge.
July 5, 2016, 17:17 (GMT)
Dyntopo: avoid redundant vector copy
July 5, 2016, 17:17 (GMT)
Dyntopo: inline lookups, remove type check

This was checking vert/face for every lookup,
so far the type is always known, do a direct lookup instead.
July 5, 2016, 17:16 (GMT)
Dyntopo: use inline iterators

Gives small performance boost.
July 5, 2016, 08:56 (GMT)
Dyntopo: compare masks when collapsing

Was just checking the value of the first
July 5, 2016, 08:56 (GMT)
Dyntopo: verify had over zealous asserts
July 4, 2016, 16:22 (GMT)
Cycles: remove extended precision hacks, no longer needed with SSE2 requirement.

Differential Revision: https://developer.blender.org/D2079
July 4, 2016, 16:22 (GMT)
Fix a few compiler warnings on OS X / clang.

Two were actual bugs, though they existed only in unused code:
* In Freestyle it was unintentionally copying a scene rather than referencing it.
* In BLI_array_store_is_valid there was use of uninitialized memory.
July 4, 2016, 15:30 (GMT)
Fix use of uninitialized variable introduced in fix for T48755.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021