Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 909 / 5574

February 12, 2020, 12:11 (GMT)
Cleanup: Move common CUDA/OptiX Cycles device code into separate file

This reduces code duplication between the CUDA and OptiX device implementations: The CUDA device
class is now split into declaration and definition (similar to the OpenCL device) and the OptiX device
class implements that and only overrides the functions it actually has to change, while using the CUDA
implementation for everything else.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6814
February 12, 2020, 11:43 (GMT)
Modifiers: Vertex Weight Modifiers add invert vgroup option

Adds the invert vgroup mask option to the Vertex Weight modifiers.

These 3 modifiers share the same functions so they needed to be modified at the same time. They are all setup the same with the invert vgroup option being added. I had to add a flag to the Mix modifier but the others I use the existing flags.

Differential Revision: https://developer.blender.org/D6819
Revision 24b5d5a by mano-wii
February 12, 2020, 11:35 (GMT)
Modifiers: Weld Modifier - simplify invert_vgroup code

No functional change
February 12, 2020, 11:08 (GMT)
Weight Paint: add a pie menu for locking and unlocking vertex groups.

Provide different options for locking and unlocking vertex groups
using bone selection, accessible via a pie menu triggered via the
'K' hotkey. To implement a variety of operations, extend the old
operator with a new option to mask it by bone selection. If the
X Mirror option is enabled, selection is automatically mirrored.

This follows D6533 as the next step in improving accessibility of
vertex group locking during weight painting.

Differential Revision: https://developer.blender.org/D6618
February 12, 2020, 10:05 (GMT)
Modifiers: Weld Modifier add invert vgroup option

Adds the invert vgroup option to the weld modifier.

Differential Revision: https://developer.blender.org/D6818
February 12, 2020, 09:46 (GMT)
Cleanup: clang-format.
February 12, 2020, 09:34 (GMT)
Modifiers: Hook Modifier add invert vgroup option

Adds the invert group optin to the hook modifier.

Differential Revision: https://developer.blender.org/D6817
February 12, 2020, 09:18 (GMT)
Modifiers: Fix bug where UVWarp Modifier would try to get bone matrix from a non armature object

There is a bug where the UVWarp modifier will stop working if an armature bone is set as the Bone To target and then later changed to a non armature object without clearing the Bone To string property. The modifier will still think it is needing a bone matrix and not properly use the object matrix.

A simple fix by adding a check for the object being an armature as well as the bonename string being set.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D6809
February 12, 2020, 07:19 (GMT)
Fix T73446: WorkSpace ID properties not saved
February 12, 2020, 07:19 (GMT)
Cleanup: clang-format
February 12, 2020, 04:40 (GMT)
Cleanup: Fix build warnings from OSL shader compilation

There were to copies of stdosl.h one from stock OSL
and one in the cycles tree augmented with cycles
specific closures.

moved the cycles ones to stdcycles.h and copied
the stock stdosl.h and accompanying headers from
the OSL shader folder.

for further details see D6812.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6812
February 12, 2020, 03:26 (GMT)
Fix T73740: Auto-key "Only Available" de-selects f-curves

This was especially bad with "Only Selected Curve Keyframes",
effectively making f-curves un-editable on each insertion.
February 12, 2020, 01:08 (GMT)
Cleanup: warning
February 11, 2020, 23:45 (GMT)
Fluid: Naming and UI visibility fixes for some parameters

Cleaned up some inconsistencies in the UI, i.e. corrected name for velocity factor and fixed UI visibility for fractional obstacle parameter.
February 11, 2020, 19:48 (GMT)
Sculpt: Split normal radius and area radius

This enables an extra layer of control in the sculpt brushes.
For now it is enabled only in Scrape, but it should work in all brushes (like normal radius). In the future it may also be enabled in other brushes.
You can tweak in this property in the scrape brush to achieve a much better behavior when working on curve surfaces and control how much volume you want to trim. In most cases, it also fixes the bug where the brush keeps trimming in the same area without disabling accumulate.
It should be possible to fix some other artifacts in other brushes by tweaking this default property.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D5993
February 11, 2020, 19:07 (GMT)
Sculpt: Clay Strips Tip Roundness property

This patch allow to change the brush tip shape between a square and a
circle using a brush property.

After this change we are no longer testing the distance against a cube
(the Z axis is not used). I did not test this in depth, but if it does
not produce any artifacts I think we can keep it this way instead of
adding more complexity to the code.

In this new distance test the brush falloff is only applied on the
rounded parts of the square to avoid sharp artifacts in the
diagonals. Because of this, the round version is much softer than
the square one. The planned hardness property will fix this, but
this can also be avoided by setting the fallof to a custom curve.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6165
February 11, 2020, 18:44 (GMT)
Pose Brush: Option to disable the IK anchor point

The IK chain was using an anchor point by default as it makes sense for
posing, but for creating curved shapes it is useful to be able to
disable it.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6584
February 11, 2020, 17:57 (GMT)
Sculpt: Clay Thumb Brush

This brush simulates deforming clay with your fingers, accumulating
material during the stroke. It has a plane that tilts during the stroke
in the front part of the brush to achieve this effect.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6238
February 11, 2020, 17:38 (GMT)
Fix T73442 Overlay: Wireframe infront buggy in material shading mode

This was caused by the refactor. The wireframe was drawn with the incorrect
depth buffer.

Should be included in 2.82
February 11, 2020, 17:03 (GMT)
Cycles: Add support for denoising in the viewport

The OptiX denoiser can be a great help when rendering in the viewport, since it is really fast
and needs few samples to produce convincing results. This patch therefore adds support for
using any Cycles denoiser in the viewport also (but only the OptiX one is selectable because
the NLM one is too slow to be usable currently). It also adds support for denoising on a
different device than rendering (so one can e.g. render with the CPU but denoise with OptiX).

Reviewed By: #cycles, brecht

Differential Revision: https://developer.blender.org/D6554
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021