Blender Git Commits

Blender Git "master" branch commits.

Page: 718 / 5574

June 19, 2020, 23:28 (GMT)
Cleanup: Fix build-warning with MSVC

Draco sets CMAKE_CXX_STANDARD to 14, given we
set the c++ standard in the root level CMakeLists.txt
to c++17 this generated build warnings.

Given the rootlevel one is the one we want we can
safely remove this line in dracos cmakelists
June 19, 2020, 21:56 (GMT)
Bevel: add new 'Absolute' mode for interpreting 'amount' value.

This mode is like Percent, but measures absolute distance along
adjacent edges instead of a percentage.
So, for example, if you use this mode with 2 segments and profile=1,
you will see the length that the bevel moves along unbeveled edges
between beveled ones will match the value specified.
Many users seem to expect this behavior, even though it means the
bevel width is uneven, so this option is for them.
Revision ab72cd2 by Hans Goudey
June 19, 2020, 20:11 (GMT)
Cleanup: Spelling
Revision a089286 by Hans Goudey
June 19, 2020, 20:07 (GMT)
UI: Fix all constraint subpanels empty

Silly typo in earlier fix
Revision bb4cef7 by Hans Goudey
June 19, 2020, 19:07 (GMT)
UI: ShaderFx Drag and Drop, Layout Updates

This patch implements the list panel system D7490 for grease pencil
shader effects. It also moves their drawing to a callback in
ShaderFxTypeInfo in line with the extensible architecture refactoring
goal T75724.

The implementation is basically exactly the same as for the modifier
patch (9b099c86123fc82).

Thanks to Matias Mendiola (@mendio) for helping to develop the layout
changes.

Differential Revision: https://developer.blender.org/D7985
June 19, 2020, 18:43 (GMT)
Outliner: Selection cleanup

No functional changes. The outliner selection operators shared many
different functions for selection, activation, mode toggling, and other
actions, but the code paths were not always clear, making any changes
difficult.

This cleans up the code and uses outliner_item_select() as the base
function for selection, activation, mode toggling between the different
selection operators. It also prepares for future features and fixes.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D5817
Revision ec963d9 by Hans Goudey
June 19, 2020, 18:42 (GMT)
UI: Grease Pencil Modifier Drag and Drop, Layout Changes

This patch implements the list panel system D7490 for grease pencil
modifiers. It also moves their drawing to a callback in
GpencilModifierTypeInfo in line with the extensible architecture
refactoring goal T75724.

This also adds the "set_error" function for grease pencil modifiers,
which hadn't been copied from mesh modifiers yet.

The implementation is basically exactly the same as for the modifier
patch (9b099c86123fc82).

Thanks to Matias Mendiola (mendio) for providing mockups for many
of the layout changes.

Differential Revision: https://developer.blender.org/D7978
Revision fb7d8e2 by Hans Goudey
June 19, 2020, 18:19 (GMT)
UI: Fix check for constraint panel default expansion
Revision 0ded6f5 by Julian Eisel
June 19, 2020, 18:14 (GMT)
Fix: Crash when closing window while Outliner shows screens

Steps to reproduce were:
* From factory settings, change Outliner Display Mode to "Blender File"
* Open "Screens" item, make sure all listed screens are visible
* Open Preference window, close it
* Mouse hover the outliner -> crash

Fix is to force an Outliner tree rebuild when closing screens.
Revision 254f164 by Julian Eisel
June 19, 2020, 18:06 (GMT)
UI: Minor optimization to Outliner lookup for hovered element

The lookup to find the hovered Outliner tree element would possibly check
children that can be skipped with a simple check.

I experimented with various ways to avoid work in this lookup. This one is
simple and reliable, which others wouldn't have been afaics. Plus, there's not
much performance to be gained here anyway.
Revision 15083d9 by Julian Eisel
June 19, 2020, 18:06 (GMT)
UI: Avoid rebuilding Outliner tree when opening/collapsing items

In big files, the Outliner would have a noticeable lag when opening or
collapsing items. That was because the entire tree was rebuilt, which isn't
actually needed in most cases. So we avoid it where possible now.
Revision f4c0ea1 by Julian Eisel
June 19, 2020, 18:06 (GMT)
UI: Don't rebuild Outliner tree to remove highlight when leaving area

When leaving the Outliner's area, the highlight would be removed and cause a
full rebuild of the tree. This caused a noticable lag in bigger files.
Revision e15f85f by Julian Eisel
June 19, 2020, 18:06 (GMT)
UI: Avoid rebuilding outliner tree when changing area size

In big files, ie typical production files, resizing the outliner area would be
very slow. The outliner tree would be rebuilt then, which can easily be avoided.
June 19, 2020, 17:39 (GMT)
Fix T78042: GPencil: Strokes go missing after Interpolation from another layer

This was due some strokes could be tagged and as the layer was locked, the strokes were not untagged and removed when all tagged strokes are removed.

The tagged strokes are used as temp ghost of the interpolation and removed at the end of the interpolation.
Revision a24cd69 by Hans Goudey
June 19, 2020, 17:21 (GMT)
Cleanup: Remove unused BKE_constraint functions
Revision eaa44af by Hans Goudey
June 19, 2020, 16:40 (GMT)
UI: Drag and Drop Constraints, Layout Updates

This patch implements the list panel system D7490 for constraints.
In this case the panels are still defined in Python.

The layouts are also updated to use subpanels and the a more organized
single column layout. There may be more tweaks necessary for the
layouts.

Reviewed By: Severin, billreynish, Mets

Differential Revision: https://developer.blender.org/D7499
June 19, 2020, 15:56 (GMT)
Fix T77476: Transform Align mode using View orientation by default
June 19, 2020, 15:37 (GMT)
USD: Upgrade library 20.02 ? 20.05

The Blender USD code didn't have to change for this upgrade. Pixar's USD
did include a change that we had in the patch, so that's been removed
from our patch now. Some of the USD code that we patched changed as
well.
June 19, 2020, 15:08 (GMT)
Cleanup: Alembic, replace `ABC_INLINE` with `BLI_INLINE`

The `ABC_INLINE` macro has been in the Alembic code since it was introduced
to Blender in rB61050f75b13e. It basically does the same a `BLI_INLINE`,
though, so there is no need to keep it around.
June 19, 2020, 15:05 (GMT)
EEEVEE: Object Motion Blur: Initial Implementation

This adds object motion blur vectors for EEVEE as well as better noise
reduction for it.

For TAA reprojection we just compute the motion vector on the fly based on
camera motion and depth buffer. This makes possible to store another motion
vector only for the blurring which is not useful for TAA history fetching.

Motion Data is saved per object & per geometry if using deformation blur.
We support deformation motion blur by saving previous VBO and modifying the
actual GPUBatch for the geometry to include theses VBOs.

We store Previous and Next frame motion in the same motion vector buffer
(RG for prev and BA for next). This makes non linear motion blur (like
rotating objects) less prone to outward/inward blur.

We also improve the motion blur post process to expand outside the objects
border. We use a tile base approach and the max size of the blur is set via
a new render setting.

We use a background reconstruction method that needs another setting
(Background Separation).

Sampling is done using a fixed 8 dithered samples per direction. The final
render samples will clear the noise like other stochastic effects.

One caveat is that hair particles are not yet supported. Support will
come in another patch.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D7297
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021