Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1081 / 5574

August 20, 2019, 12:47 (GMT)
Cleanup: clang-format, sorted lists
August 20, 2019, 12:11 (GMT)
Fix crash with no grid unit
August 20, 2019, 11:58 (GMT)
Fix T61286: Viewport grid units not visible

The original code was commented on.
Unlike blender 2.79, the grid units are now displayed only when RV3D_VIEW_IS_AXIS.
The visible subdivisions in the grid are made by the GPU and depending on the pixel.
The code used here only mimics this behavior and adds a bit of overhead.

Reviewers: fclem, campbellbarton

Subscribers: FloridaJo, zlsa, rl.amorato, EitanSomething

Differential Revision: https://developer.blender.org/D4325
August 20, 2019, 07:45 (GMT)
Memory: Fix guarded aligned malloc with small alignment

When calling `MEM_guarded_mallocN_aligned` with an alignment of 4,
a pointer that was returned that is 4 byte but not 8 byte aligned.
When freeing this pointer, `MEM_guarded_freeN` thinks that it is an
illegal pointer, because it asserts that `((intptr_t)memh) & 0x7 == 0`.

The fix is to always use at least 8 byte alignment.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5529
August 19, 2019, 23:08 (GMT)
Cleanup: outliner range selection

No functional changes. This commit simplifies the recursive call,
removes unneeded function calls, and adds comments.
August 19, 2019, 22:49 (GMT)
Outliner: Add range extend select

Add support for ctrl+shift+lmb to default and industry compatible
keymaps to select a range without removing the existing selection.
August 19, 2019, 19:05 (GMT)
GPencil: Improve reproject operator in surface mode

This change was applied to GP branch during the period 2.80 cannot be updated. Now the patch can be moved to master.

The commit fix the problem when reproject over surface in multiframe mode and the surfaces can moved.

Also improved the surface algorithm thanks to Lukas W (@geloescht).

New Algorithm: Differential Revision: https://developer.blender.org/D4878

Tested by @mendio and @pepeland
August 19, 2019, 18:32 (GMT)
GPencil: Change UI scale for z-depth offset

Actually, the value for this parameter must be in the order of 0.00001 and this makes the UI uncomfortable.

Now, the value is divided by 1000 internally and the UI values are more logic.

Reviewers: mendio, pepeland

Differential Revision: https://developer.blender.org/D5528
August 19, 2019, 18:19 (GMT)
Fix build error with OpenImageDenoise after recent changes for dynamic linking

CMake variables are case sensitive.
August 19, 2019, 17:23 (GMT)
Fix T68831: use NULL instead of the wrong pointer to read default array.

The pointer argument is supposed to be the object the property belongs
to, not a pointer to the property metadata itself. This only worked
before because the argument was never used.
August 19, 2019, 17:11 (GMT)
LibOverride: add some more missing override flags for RNA ID pointers.
August 19, 2019, 16:08 (GMT)
Mesh Batch Cache: Fix crash caused by rB3cbf2462391c
August 19, 2019, 15:05 (GMT)
View3D Grid: fix imperial grid drawing

This is a step to finish the D4325 and fix the T61286.
Currently the grid is highlighted in steps of 10 out of 10, which is wrong for the imperial units as seen in `buImperialLenDef`.
The idea of the code is to pass the steps of the grid already dimensioned as a uniform.

Another important thing to note is that subdivisions now only affect the grid without unity.
This matches the 2.7x Blender versions.

No performance loss (almost no gain too).

Reviewers: fclem

Subscribers: zlsa, rl.amorato

Differential Revision: https://developer.blender.org/D4379
August 19, 2019, 15:02 (GMT)
Fix T68719 Viewport: Wrong material index when switching between view mode

This was due to the GPUIndexBuf ranges only computed when requesting
the triangles indices. If the tris were already calculated, the new shading
batches would never have the GPUIndexBuf ranges and instead use the full
triangle index buffer.

So since this only happen when shading data does not match, we just save
the previous GPUIndexBuf ranges and reuse them for the new batch.

This patch is a bit of a hack on top of a hack but it works fine.
August 19, 2019, 15:00 (GMT)
Outliner: sync selection on undo/redo

Tags all outliner sync types on undo and redo operations.
August 19, 2019, 14:48 (GMT)
Fix crash when loading a file with existing proxy, and lib has been edited.

Editing a lib char should never, ever be done once you have proxies of
it in your project, that will most certainly break a lot of things...

But at leats let's try no to crash here.
August 19, 2019, 14:20 (GMT)
Outliner: rename filter "invisible" to "hidden"

No functional changes. Renames the "invisible" object filter to
"Hidden" to be more consistent.
August 19, 2019, 13:21 (GMT)
Fix building with shared OIDN libraries

Previously cmake would error out if it couldn't find the static
libraries even though it can build with shared libraries just fine.
August 19, 2019, 12:56 (GMT)
UI: replace "reports to text" operator with showing info log

This operator only existed to be able to see multiple reports, now instead the
info log can be opened and contents can be copy/pasted.

Patch by Valentin (Poulpator)

Differential Revision: https://developer.blender.org/D5510
August 19, 2019, 12:56 (GMT)
Fix T68672: splash screen does not remain centered when window resizes

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