Blender Git Commits

Blender Git "master" branch commits.

Page: 2414 / 5574

February 13, 2016, 21:54 (GMT)
Fix cmd+z for undo not working when editing text objects on OS X.
February 13, 2016, 15:07 (GMT)
Fix T47393: mouse wheel scroll no longer zooms with mighty mouse on OS X.

Hopefully this is the last fix, using the method explained here:
https://forums.developer.apple.com/thread/31536
February 13, 2016, 12:41 (GMT)
Cleanup: Move Cycles sky model data to util.
February 13, 2016, 12:29 (GMT)
Cycles: Remove meaningless expression
February 13, 2016, 12:29 (GMT)
Cycles: Fix compilation error on Windows
February 13, 2016, 12:29 (GMT)
Cycles: Fixes for Burley BSSRDF

There are several fixes in here, which hopefully will make the shader
working correct without too much magic in there.

First of all, this commit brings BURLEY_TRUNCATE down from 30 to 16
which reduces noise a lot. It's still higher than original truncate
from Brecht, but this reduces PDF value at a cutoff distance by an
order of magnitude (now it's 0.008387, previously it was 0.063521
for the albedo of 0.8 and radius 1.0). This should converge to a
proper result faster and don't have artifacts.

This kind of reverts fix for T47356, but after additional thinking
came to conclusion Burley is not being totally smooth, it is about
giving less waxy results which it's kind of doing in the file.

Second of all, this commit fixes burley_eval() to use normalized
diffusion reflectance. This matches the way we calculate CDF and
solves numeric instability close to 0, making PDF profile looking
closer to other SSS profiles:

https://developer.blender.org/F282355
https://developer.blender.org/F282356
https://developer.blender.org/F282357

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1792
February 13, 2016, 12:21 (GMT)
Cleanup: Remove some OIIO code for versions prior to 1.5.
February 13, 2016, 11:35 (GMT)
Cycles: Fix crash caused by the guarded allocation commit

C++ requires specific alignment of the allocations which was not an
issue when using GCC but uncovered issue when using Clang on OSX.
Perhaps some versions of Clang might show errors on other platforms
as well.
February 13, 2016, 09:44 (GMT)
Docs: remove bmesh py api warning
February 13, 2016, 07:59 (GMT)
Sculpt: avoid double-hash for pbvh building

Gives minor speedup entering sculpt mode and with undo.
February 13, 2016, 07:59 (GMT)
Optimize sculpt undo, avoid redundant updates

On undo, sculpting regular meshes would update _all_ GPU VBO's.
Avoiding the update gives noticeably faster undo.

This is also a fix/workaround for strange behavior with NVidia's driver (T47232),
Where locking and unlocking all buffers for updating
slows down redraw speed permanently after the first undo.

However the problem isn't avoided entirely since a single brush stroke might modify most of the mesh.
February 13, 2016, 07:59 (GMT)
BLI_bitmap: add flip macro
February 13, 2016, 07:55 (GMT)
Set alpha clip to lower value

Workaround for T46962 still works
February 12, 2016, 19:21 (GMT)
Cycles: Fix compilation error with MinGW

Was using some C++0 which we don't officially enabled yet.
February 12, 2016, 19:14 (GMT)
Fix/workaround compilation error in dds

CLAMP was conflicting between Common.h and BLI_utildefines.h

Ideally we would use macro from BLI, but it's a bit involved change
to make it working with C++, will keep it for later.
February 12, 2016, 14:53 (GMT)
Fix error in bvhtree_walk_dfs_recursive
February 12, 2016, 14:43 (GMT)
Cycles: Always use guarded allocator of vectors

We don't have vectors re-allocation happening multiple times from inside
a loop anymore, so we can safely switch to a memory guarded allocator for
vectors and keep track on the memory usage at various stages of rendering.

Additionally, when building from inside Blender repository, Cycles will
use Blender's guarded allocator, so actual memory usage will be displayed
in the Space Info header.

There are couple of tricky aspects of the patch:

- TaskScheduler::exit() now explicitly frees memory used by `threads`.
This is needed because `threads` is a static member which destructor
isn't getting called on Blender's exit which caused memory leak print
to happen.

This shouldn't give any measurable speed issues, reallocation of that
vector is only one of fewzillion other allocations happening during
synchronization.

- Use regular guarded malloc (not aligned one). No idea why it was
made to be aligned in the first place. Perhaps some corner case tests
or so. Vector was never expected to be aligned anyway. Let's see if
we'll have actual bugs with this.

Reviewers: dingto, lukasstockner97, juicyfruit, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1774
February 12, 2016, 14:27 (GMT)
Cycles: Make Blender importer more forward compatible

Basically the idea is to make code robust against extending
enum options in the future by falling back to a known safe
default setting when RNA is set to something unknown.

While this approach solves the issues similar to T47377,
but it wouldn't really help when/if any of the RNA values
gets ever deprecated and removed. There'll be no simple
solution to that apart from defining explicit mapping from
RNA value to Cycles one.

Another part which isn't so great actually is that we now
have to have some enum guards and give some explicit values
to the enum items, but we can live with that perhaps.

Reviewers: dingto, juicyfruit, lukasstockner97, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1785
February 12, 2016, 13:58 (GMT)
Fix: OSX - Cmd + A doesn't work for Font objects editing

Since Cmd + A works elsewhere, it should work during font objects editing as well.

There is still a mysterious issue with Cmd + Z not working for UNDO the edited
text in OSX (probably GHOST related).
February 12, 2016, 13:05 (GMT)
Integrate font objects copy/paste with system clipboard

When pasting text, the style (bold, material, ...) is maintained, if it was originally copied from Blender.

This fixes the issue of missing copy/paste options for font objects
(they were present back in Blender 2.49)

Reviewers: Severin, campbellbarton, brecht
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021