Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 557 / 5574

September 30, 2020, 14:39 (GMT)
Subdivision Surfaces: add option disable using the limit surface

This makes subdivision surfaces compatible with the old subdivision
surface modifier and other applications that do not use the limit surface.

This option is available on the Subdivision Surface modifier.

Differential Revision: https://developer.blender.org/D8413
September 30, 2020, 14:10 (GMT)
Cycles: Fix usage of memory barriers in split kernel

On user level this fixes dead-lock of OpenCL render on Intel Iris GPUs.
Note that this patch does not include change in the logic which allows
or disallows OpenCL platforms to be used, that will happen after the
kernel fix is known to be fine for the currently officially supported
platforms.

The dead-lock was caused by wrong usage of memory barriers: as per the
OpenCL specification the barrier is to be executed by the entire work
group. This means, that the following code is invalid:

void foo() {
if (some_condition) {
return;
}
barrier(CLK_LOCAL_MEM_FENCE);
}

void bar() {
foo();
}

The Cycles code was mentioning this as an invalid code on CPU, while in
fact this is invalid as per specification. From the implementation side
this change removes the ifdefs around the CPU-only barrier logic, and
is implementing similar logic in the shader setup kernel.

Tested on NUC8i7HVK NUC.

The root cause of the dead-lock was identified by Max Dmitrichenko.

There is no measurable difference in performance of currently supported
OpenCL platforms.

Differential Revision: https://developer.blender.org/D9039
September 30, 2020, 13:54 (GMT)
Tracking: Implement Brown-Conrady distortion model

Implemented Brown-Conrady lens distortion model with 4 radial and
2 tangential coefficients to improve compatibility with other software,
such as Agisoft Photoscan/Metashapes, 3DF Zephir, RealityCapture,
Bentley ContextCapture, Alisevision Meshroom(opensource).

Also older programs: Bundler, CPMVS.
In general terms, most photogrammetric software.

The new model is available under the distortion model menu in Lens
settings.

For tests and demos check the original patch.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9037
September 30, 2020, 10:11 (GMT)
Cleanup: convert gforge task ID's to phabricator format

Cleanup old tracker task format to the new. e.g: [#34039] to T34039

Ref D8718
September 30, 2020, 05:09 (GMT)
Cleanup: use 'use_' prefix for RNA booleans

Some of the naming was quite misleading.
September 30, 2020, 03:01 (GMT)
UI: Motion Tracking: Fix description of K2 coefficient

Fixed description of K2 coefficient. It is second coefficient

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D9050
September 30, 2020, 02:25 (GMT)
Cleanup: spelling
September 30, 2020, 02:25 (GMT)
Cleanup: remove full-stop from description
September 30, 2020, 02:05 (GMT)
Cleanup: use angle-brackets for email addresses

This is already the most widely used convention.

Use this so `make check_spelling_c` will ignore all email addresses.
September 30, 2020, 01:51 (GMT)
Cleanup: sort cmake file lists
September 30, 2020, 01:51 (GMT)
Cleanup: sort struct declarations
Revision e5aa9de by Hans Goudey
September 29, 2020, 22:41 (GMT)
Cleanup: Make function private

The "UI_panel_set_expand_from_list_data" doesn't need to be in the
public API since it's just called every time an instanced panel is added.
This commit just sets the expansion automatically and adjusts some
naming to account for the moved function.
Revision e1e9b5e by Hans Goudey
September 29, 2020, 22:19 (GMT)
Fix use after free deleting object with modifier panels visible

It's necessary to check if the panels are active before accessing their
data. Thanks to @ankitm for reporting this.
Revision 23363ca by Hans Goudey
September 29, 2020, 22:08 (GMT)
Cleanup: Use LISTBASE_FOREACH macro in outliner code
Revision 1b6480e by Hans Goudey
September 29, 2020, 21:21 (GMT)
UI: Remove second person in warning message

This phrasing can feel like an accusation, and a simpler phrase
gets across the idea just as well.
September 29, 2020, 20:54 (GMT)
Sculpt: Preserve Mesh visibility from edit mode using the Face Sets

Before this change, when users switch from edit mode to sculpt mode, the
entire mesh would be visible. Even if in the edit mesh mode part of it was
set to invisible.

With this change the visibility is preserved, by creating a separate face set
for the visible and invisible parts of the mesh and setting their initial visibility.

Implementation details: This adds a function to initialize a new Face Set
datalayer taking the current mesh visibility into account which is stored
in the ME_HIDE flag of the vertices.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8901
September 29, 2020, 20:48 (GMT)
Sculpt: Line Project Gesture tool

This tool projects all vertices to the right of the plane defined by the
line gesture towards the plane. By doing this, this tool can create cuts
and plane surfaces in the mesh without modifying the geometry or using
boolean operations, so it is much faster than bisecting the mesh for
cases where the geometry was going to be remeshed afterwards.

Added as experimental as it does not have icon.

Reviewed By: sergey, Severin

Differential Revision: https://developer.blender.org/D9021
September 29, 2020, 20:45 (GMT)
API Docs: Correct syntax for bpy.utils.register_class
September 29, 2020, 19:50 (GMT)
API Docs: Fix corrupted document of gpu.select.load_id

The Python API document of gpu.select.load_id does not follow rst format.
c.f. https://docs.blender.org/api/current/gpu.select.html

This patch fixes it.

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D8547
September 29, 2020, 19:50 (GMT)
API docs: Fix sytax error for delaunay_2d_cd

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