Blender Git Commits

Blender Git "master" branch commits.

Page: 2287 / 5574

September 12, 2016, 14:29 (GMT)
Fix code which was commented by accident

Well, more like some last-minute checks which i did not see before commit.

Let's increase commit ratio!
September 12, 2016, 14:14 (GMT)
Fix T49327: Cycles OSL Mode: RGB Curves node only outputs gray scale images

To be backported to 2.78 release.
September 12, 2016, 14:06 (GMT)
Cycles: Fix compilation error after recent commits
September 12, 2016, 13:39 (GMT)
Graph editor: Add channel option to make it persistent on display

The idea is to allow certain animation channels to be always visible in
animation editors. So, for example, one can pin Camera animation to the
editor so it is always possible to refine/tweak camera animation when
animating something else in the scene.

There is probably some more polishing required, and some current
limitations could be solved in the future but should be a good starting
point already.

Currently only works for object without recursing into deeper datablock
(so for example, it's not possible to pin object material animation).

Studio request by Colin Levy.
September 12, 2016, 11:29 (GMT)
Fix T49296, assert failure in Bevel code.

The mesh interpolation function failed to fill a fractions-of-the-way
array properly when the distances are very small but nonzero.
September 12, 2016, 10:48 (GMT)
Cycles: Fix wrong SSS in combination with hair on AVX2 platform

Not sure why exactly that happened, need a closer look.
September 12, 2016, 07:39 (GMT)
Cycles: Use XDG's .cache folder for cached kernels

Basically just moves cached kernels from ~/.config/blender/BLENDER_VERSION to
~/.cache/cycles/kernels. This has following benefits:

- Follows XDG specification more closely,
not as if it's totally crucial or measurable by users, but still nice.

- Prevents unexpected sizes of config folder, makes disk space used in more
predictable for users way.

- Allows to share kernels across multiple Blender versions,
which makes it easier debugging at the times close to release.

- "Copy Previous Settings" operator will no longer be copying possibly
gigabytes of cached kernels, which used to lead to really nast disk usage
and annoying delays of copying settings.

- In the future we can have some smart logic to clear old unused cached
kernels.

Currently only done for Linux and OSX. Windows still follows old "cache"
folder logic, but it's not really important for now because we don't
support kernel compilation on this platform yet.

Reviewers: dingto, juicyfruit, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2197
Revision 49df5d0 by Mai Lavelle
September 11, 2016, 17:49 (GMT)
Cycles: Fix shading and crashes resulting from constant folding on displacement

Constant folding was removing all nodes connected to the displacement output
if they evaluated to a constant, causing there to be no valid graph for
displacement even when there was displacement to be applied, and sometimes
caused crashes.
Revision 013b46d by Mai Lavelle
September 11, 2016, 17:49 (GMT)
Cycles: Replace object index hack with actual checks for SD_TRANSFORM_APPLIED

Using ones complement for detecting if transform has been applied was confusing
and led to several bugs. With this proper checks are made.

Also added a few transforms where they were missing, mostly affecting baking
and displacement when `P` is used in the shader (previously `P` was in the
wrong space for these shaders)

Also removed `TIME_INVALID` as this may have resulted in incorrect
transforms in some cases.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2192
Revision 92a2c49 by Mai Lavelle
September 11, 2016, 15:20 (GMT)
Cycles: Fix bump mapping to use object space when used with true displacement

Bump mapping was happening in world space while displacement happens in object
space, causing shading errors when displacement type was used with bump mapping.

To fix this the proper transforms are added to bump nodes. This is only done
for automatic bump mapping however, to avoid visual changes from other uses of
bump mapping. It would be nice to do this for all bump mapping to be consistent
but that will have to wait till we can break compatibility.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2191
September 11, 2016, 11:06 (GMT)
Revert "GPencil: Add IFACE_ macro to some strings"

This reverts commit b50a5b92c15e0f110ca978352c2ba59bc3e97dd3 because BKE_report functions are already automatically handled by translation system.
September 11, 2016, 10:28 (GMT)
GPencil: Add IFACE_ macro to some strings
September 11, 2016, 10:28 (GMT)
GPencil: Change interpolate stroke factor

Now the factor works similar to other Blender areas to make the factor
more consistent for artists. The value 0% means equal to original
stroke, 100% equal to final stroke (50% means half way). Any value below
0% or greater than 100% create an overshoot of the stroke.
September 10, 2016, 23:58 (GMT)
[CMAKE/Platform/Windows] Only perform version check if the actual compiler is MSVC
September 10, 2016, 21:37 (GMT)
NDOF: allow view movement for modal border and circle select operators.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2167
September 10, 2016, 21:04 (GMT)
Fix undefined variable on errors in Cycles ctests.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2201
September 10, 2016, 18:15 (GMT)
Fix OpenSubdiv related buffer overrun with multiple FVar channels.

The existing code uses the input value count of the first channel
for all of them. If the first channel is the largest, it leads to
a crash-causing buffer overrun in memcpy below. Likely this was
left since the time when only one channel was supported.

As a crash fix, probably should go into 2.78
September 10, 2016, 10:38 (GMT)
Fix T49303: Fix T49314: More issues with new handling of X11 shortcuts.

This commits changes two things:
* It adds more keysyms preferably taken from XLookupKeysym than XLookupString (namely, all numpad ones).
* It falls back to keysyms from XLookupKeysym in other cases, when XLookupString does not produce anything we know of.

Finding the correct balance here is far from easy, but think we are comming rather close to it now...
September 9, 2016, 11:08 (GMT)
Cleanup: Indentation
September 9, 2016, 10:27 (GMT)
Cycles: Add overall timing log to SVNShaderManager
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021