Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 247 / 5574

June 8, 2021, 09:51 (GMT)
Fix T88719: Attribute Remove node input field does nothing

An unlinked multi-input socket was not handled correctly.
June 8, 2021, 09:16 (GMT)
CMake: Fix `FindClang` not finding system clang on linux in some cases.

In Debian e.g. Clang is part of LLVM, so we need to also check its root
directory sometimes to find Clang files.
June 8, 2021, 08:43 (GMT)
Geometry Nodes: enable multi-threading in evaluator again

This reverts rB223c6e1ead2940a89465ff66765d16ac14a992b7
because T88598 is resolved now.
June 8, 2021, 08:39 (GMT)
BLI: support disabling task isolation in task pool

Under some circumstances using task isolation can cause deadlocks.
Previously, our task pool implementation would run all tasks in an
isolated region. Now using task isolation is optional and can be
turned on/off for individual task pools.

Task pools that spawn new tasks recursively should never enable
task isolation. There is a new check that finds these cases at runtime.
Right now this check is disabled, so that this commit is a pure refactor.
It will be enabled in an upcoming commit.

This fixes T88598.

Differential Revision: https://developer.blender.org/D11415
June 8, 2021, 07:13 (GMT)
BMesh: simplify normal calculation, resolve partial update error

Simplify vertex normal calculation by moving the main normal
accumulation function to operate on vertices instead of faces.

Using faces had the down side that it needed to zero, accumulate and
normalize the vertex normals in 3 separate passes, accumulating also
needed a spin-lock for thread since the face would write it's normal
to all of it's vertices which could be shared with other faces.

Now a single loop over vertices is performed without locking.
This gives 5-6% speedup calculating all normals.

This also simplifies partial updates, fixing a problem where
all connected faces were being read from when calculating normals.
While this could have been resolved separately,
it's simpler to operate on vertices directly.
June 8, 2021, 06:25 (GMT)
Cleanup: Silent compile warning in `interface_widgets.c`.
June 8, 2021, 05:45 (GMT)
Cleanup: Soilent compile warning in `curve_bevel.c`.
Revision 1b07b7a by YimingWu
June 8, 2021, 05:03 (GMT)
LineArt: Threaded Object Loading.

Move BMesh conversion and all loading code into worker.

Reviewed By: Sebastian Parborg (zeddb)

Differential Revision: https://developer.blender.org/D11288
Revision 0abce91 by Hans Goudey
June 8, 2021, 03:33 (GMT)
Fix test failure caused by earlier cleanup commit

rB8cbff7093d65 neglected to move the "pre-tesselation" modifier to the
next before calculating the second part of the curve modifier stack.
June 8, 2021, 03:15 (GMT)
Remove noop code from WM_MOUSEWHEEL processing.

ChildWindowFromPoint retrieves the child of the provided window at a
point. In this case it always returns 0 because HWND_DESKTOP is flag
defined as 0, which is never a valid window handle and is not intended
for use in place of a window handle.

Forwarding of mousewheel events was added in adb08def613d, and later
modified to the current unworking state in e9645806f563. Sending mouse
wheel events to the window under the cursor is a system preference and
therefore should not be overridden by Blender, therefore the noop code
has been removed.
Revision ef5a362 by Joseph Eagar
June 7, 2021, 22:19 (GMT)
Improve multires performance.

Added a new api function to stich multires grids
on specific faces in a mesh,
subdiv_ccg_average_faces_boundaries_and_corners,
and changed multires normal calc to use it.

VTune profiling showed that this was a major
performance hit once you get above 10,000 or so
base mesh faces and/or have a high number of
subdivision levels.

Here's a video comparing the difference. Note the
bpy.app_debug switch is not in the final commit.

{F10145323}

And the .blend file:

{F10145346}

Reviewed By: Sergey Sharybin (sergey)

Differential Revision:
https://developer.blender.org/D11334
Revision a671521 by Joseph Eagar
June 7, 2021, 22:16 (GMT)
Revert "Improve multires performance."
. . .because I accidentally committed
submodule references.

This reverts commit 482465e18aa7c9f74fcb90ec1002f157a580e240.
Revision 482465e by Joseph Eagar
June 7, 2021, 22:11 (GMT)
Improve multires performance.

Added a new api function to stich multires grids
on specific faces in a mesh,
subdiv_ccg_average_faces_boundaries_and_corners,
and changed multires normal calc to use it.

VTune profiling showed that this was a major
performance hit once you get above 10,000 or so
base mesh faces and/or have a high number of
subdivision levels.

Here's a video comparing the difference. Note the
bpy.app_debug switch is not in the final commit.

{F10145323}

And the .blend file:

{F10145346}

Reviewed By: Sergey Sharybin (sergey)

Differential Revision:
https://developer.blender.org/D11334
Revision b0ec1d2 by Hans Goudey
June 7, 2021, 22:04 (GMT)
Cleanup: Order return argument last
Revision 1ef33be by Hans Goudey
June 7, 2021, 21:47 (GMT)
UI: Remove property descriptions exactly the same as names

These two descriptions are exactly the same as the property names,
which only wastes people's time when reading tooltips
Revision d2aee30 by Hans Goudey
June 7, 2021, 18:58 (GMT)
Cleanup: Use const arguments, return by value

Also use Curve as an argument instead of Object, since the object was
only used to retrieve the curve, and the calling code is already working
with curve data.
June 7, 2021, 18:51 (GMT)
Fix T77651: Black screen on Blender startup on ChromeOS

Apparently `textureSize` doesn't work with
`sampler1DArray` on this OS.

Thanks to @dave1853 for finding the source of the
problem.
Revision 1c6e338 by Hans Goudey
June 7, 2021, 18:42 (GMT)
Cleanup: Make function static

This was not used in any other file, and it's not likely to be used
elsewhere in the future anyway.
Revision 7313b24 by Hans Goudey
June 7, 2021, 18:29 (GMT)
Cleanup: Remove outdated/useless comments

Some of the comments referenced code that was no longer there, or even
defines that were removed. Other comments were more confusing and
vague than helpful. Also adjust formatting in a few cases.
Revision 1182c26 by Hans Goudey
June 7, 2021, 18:12 (GMT)
Cleanup: Remove unused function, make function private
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021