Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 710 / 5574

June 25, 2020, 06:57 (GMT)
Edit Mesh: minor drawing optimization extracting loop data

Gives around ~5% speedup on high poly meshes.
June 25, 2020, 06:17 (GMT)
Fix unreported 1 pixel offset when drawing with GPencil

This bug was introduced in d82c3d86155e

Reviewers: @fclem
June 24, 2020, 21:51 (GMT)
Fix crashing on render end/abort introduced in 0dced1a
June 24, 2020, 20:12 (GMT)
Fix T67741 EEVEE: World update don't update lightcache if one viewport uses lookdev

Just a matter of not clearing the updating flag in this case.
June 24, 2020, 19:34 (GMT)
Fix T78215 EEVEE: incorrect Render Passes results when using motion blur

This was caused by a missing DRWPass initialization.

Now we create the passes for every timestep but avoid clearing the
buffer after the first sample.
June 24, 2020, 16:48 (GMT)
Fix T78149: Cycles memory leak rendering animation with Embree
Revision b468023 by Julian Eisel
June 24, 2020, 16:42 (GMT)
VR: Properly support outputting sRGB swapchain buffers

Latest SteamVR OpenXR updates brought OpenGL support, but only with sRGB
buffers. I think for DirectX it's the same now.
It's not a big issue for us to use sRGB buffers, so that's what I will
do for now. That way we shouldn't need hardcoded exceptions for specific
runtimes that don't transform linear buffers correctly.
June 24, 2020, 16:42 (GMT)
Fix T78047: Fix failing denoiser tests on windows

When we switched to MSVC2019 and C++17 we seemingly
managed to trigger a code-gen bug with MSVC in the
AVX code-path.

This change works around the issue by (hopefully
temporary) disabling the optimizer for the fast_exp2f4
function, given it is only used in a single pass
of the denoiser and nowhere else, this is luckily
not as bad as it could have been.

Once the compiler is fixed or a different fix is
available we'll have to revisit this.

Details and link to the repro posted to MS is
available in T78047
June 24, 2020, 16:38 (GMT)
Fluid: Use OpenVDB as the default cache format for liquids too

With the updated OpenVDB setup, it is now perfectly fine to use OpenVDB for liquid domains.
June 24, 2020, 16:36 (GMT)
Fluid: Fix OpenVDB compiler warnings

Kudos to brecht for noticing the issue
June 24, 2020, 16:01 (GMT)
Fix T78213: Windows 10 Build Errors: Extern_Manaflow error messages

Kudos to LazyDodo for figuring this out
Revision baff05a by Hans Goudey
June 24, 2020, 15:50 (GMT)
UI: Add Free Handle Types to CurveProfile Widget

Under the hood the CurveProfile widget (used for bevel custom profiles)
uses a bezier curve, but right now though it only supports two of the
bezier curve handle types, vector and auto. This patch adds support for
free handles and adds all of the logic for editing them.

This is the first step to the ability to import and export curve objects
in the widget.

There's some code cleanup in curveprofile.c. Movement for handles and
control points is abstracted to functions there rather than happening
in interface_handlers.c.

An "Apply Preset" button is also added, which solves a confusing issue
where you apply a preset, then change the number of samples and the
preset doesn't change. The button makes it clear that the preset needs
to be reapplied.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D6470
June 24, 2020, 15:44 (GMT)
Fix T67319 DRW: Large objects gets incorrectly culled

To avoid this we just bypass culling if the object is too big to avoid
float precision issues.
June 24, 2020, 15:29 (GMT)
Fix artifact in Clay Strips when producing large deformations

The clay strips brush tip tests distances against a cube with beveled Z
aligned edges. This cube was positioned with its center in the surface
of the mesh, so when producing large deformation, some vertices that
should be deformed were positioned further than the cube's Z dimension,
so they were left behind, producing artifacts.
This displaces and deforms the local space to position the brush tip
cube (now a prism) towards the deformation direction, so more vertices
can be included, removing most of these artifacts.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8004
June 24, 2020, 15:28 (GMT)
Fix Surface Smooth not taking the sculpt mask into account

The sculpt mask was hardcoded to 0.0

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8071
June 24, 2020, 15:27 (GMT)
Fix T78188: Sculpt mask glitching after using sculpt vertex colors

The face sets color copy to the GPU was done outside of the loop,
probably after a merge error in a rebase.

Also, the default color was initialized using the wrong type.

Reviewed By: sergey

Maniphest Tasks: T78188

Differential Revision: https://developer.blender.org/D8106
June 24, 2020, 15:27 (GMT)
Fix T78192: Draw Face Sets tool not updating the viewport color

The draw face set tool always needs to redraw the nodes, but it only
needs the full update when in smooth mode because it moves the vertices.

Reviewed By: sergey

Maniphest Tasks: T78192

Differential Revision: https://developer.blender.org/D8108
June 24, 2020, 15:25 (GMT)
Cleanup: compiler warnings
June 24, 2020, 15:22 (GMT)
Fix T78073 EEVEE: new motion blur and overscan produce wrong render

This was caused by the override viewport size not being maintained after
DRW_cache_restart().

Also this fixes issue with the inv_size not being updated correctly.
June 24, 2020, 14:53 (GMT)
Fix T78080: group node has incorrect sockets after changing group

It was only checking for the identifier, but the type has to be equivalent as well.

Reviewers: mano-wii, brecht

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