Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 677 / 5574

July 16, 2020, 09:33 (GMT)
BLI: move inline include to the bottom to avoid redeclaration warning
July 16, 2020, 09:28 (GMT)
BLI: move safe math functions to separate header
July 16, 2020, 09:05 (GMT)
BLI: add safe_divide, safe_modf and safe_logf

Those are defined exactly as their corresponding functions in Cycles.
July 16, 2020, 09:04 (GMT)
LibOverride: Fix getting proper RNA path and ID from embedded ones.

Master collections and root node trees should now be working as expected
in that regard.
July 16, 2020, 08:46 (GMT)
BLI: add safe_powf function

The same function is also used by cycles.
July 16, 2020, 08:08 (GMT)
Fix View3D "Mirror" menu, both "Global" and "Local" items are GLOBAL
July 16, 2020, 07:37 (GMT)
macOS: Support arm64 architecture.

Enabling all `make deps` dependencies with the exception of Embree and OIDN.
After that, Blender can be compiled on an Apple Silicon Mac just like on any
Intel based Mac. There are still compiler warnings that need to be
investigated and there are probably a couple of bug still to be discovered
and to be fixed.

Most patches to the dependencies are simple and are about disabling SSE and
setting the proper architecture to compiile for. Notable exception is Python,
where I back ported a yet to be accepted PR for upstream Python:
https://github.com/python/cpython/pull/21249

Cross compiling or buliding a Universal Binary is not supported yet.
The minimum macOS target version for x86_64 remains at 10.13, the target
for arm64 is 11.00.

Differential Revision: https://developer.blender.org/D8236
July 16, 2020, 07:00 (GMT)
UI: avoid aligning labels for ui_item_with_label

Key-map display was doing thousands of redundant alignment operations.
Set the spacing instead as align was only set to use zero spacing.

This would have prevented the crash reported by T78636.
July 16, 2020, 06:38 (GMT)
Fix T78636: Crash displaying many aligned buttons

Displaying user preferences search crashed on macOS when the search
contained a common character such as 'E'.
This caused alignment to 'alloca' too much memory.

Replace with a heap allocation fallback.
July 16, 2020, 03:48 (GMT)
Cleanup: fix building without USE_UIBUT_SPATIAL_ALIGN defined
July 16, 2020, 03:27 (GMT)
Fix T78966: Center cursor doesn't refresh the UI
July 16, 2020, 03:17 (GMT)
Cleanup: missing CMake headers from source lists
July 16, 2020, 01:14 (GMT)
Cleanup: undeclared function warning, unused argument
July 16, 2020, 01:09 (GMT)
Cleanup: spelling
July 16, 2020, 01:09 (GMT)
Cleanup: minor change to grease pencil material access

Rename for clarity and avoid passing in the prefix length.
July 16, 2020, 00:24 (GMT)
Fix T78837: Prefetching can corrupt .blend files

This happened because of typo in seq_dupli() when duplicating effect data.
Instead of duplicating data to new sequence, it was duplicated into original.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8295
July 15, 2020, 18:33 (GMT)
Fix T78647 UVEdit: Crash when entering edit mode with UV Editor open

Only affects MacOS.
July 15, 2020, 17:30 (GMT)
PointCloud: Initial rendering support for Workbench

Also includes outline overlays. Removes the temp overlay drawing

We make the geometry follow camera like billboards this uses less
geometry. Currently we use half octahedron for now. Goal would be
to use icospheres.

This patch also optimize the case when pointcloud has uniform radius.
However we should premultiply the radius prop by the default radius
beforehand to avoid a multiplication on CPU.

Using geometry instead of pseudo raytraced spheres is more scalable as
we can render as low as 1 or 2 triangle to a full half sphere and can
integrate easily in the render pipeline using a low amount of code.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8301
July 15, 2020, 17:09 (GMT)
DRW: View: Add ViewVecs calculation

This will remove some code duplication between draw engines.
July 15, 2020, 17:09 (GMT)
GPU: Shader: Move IN_OUT define to shader GPU_shader_create_ex

This adds the opportunity to use it in multiple places.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021