Blender Git Commits

Blender Git "master" branch commits.

Page: 896 / 5574

February 20, 2020, 17:34 (GMT)
windows: Add some more verbose logging to make.bat
February 20, 2020, 13:02 (GMT)
Fix T73871: improve assignement of material to selection in multi object
editmode

This was already supported in "Select" & "Deselect" but not in "Assign".
So similar to rB6b39dc7672eb, we now check if the material corresponding
to the currently selected material slot is found in other objects
materials and assign this (instead of always assigning their 'own'
actcol).

Maniphest Tasks: T73871

Differential Revision: https://developer.blender.org/D6869
February 20, 2020, 12:28 (GMT)
Fix T63892: Tools cannot be registered into some contexts (e.g.
PAINT_TEXTURE)

This fails because some tool contexts define their tools with functions
[see the following list for context that fail]:

- PARTICLE (_defs_particle.generate_from_brushes)
- SCULPT (_defs_sculpt.generate_from_brushes)
- PAINT_TEXTURE (_defs_texture_paint.generate_from_brushes)
- PAINT_VERTEX (_defs_vertex_paint.generate_from_brushes)
- PAINT_WEIGHT (_defs_weight_paint.generate_from_brushes)
- PAINT_GPENCIL (_defs_gpencil_paint.generate_from_brushes)
- SCULPT_GPENCIL (_defs_gpencil_sculpt.generate_from_brushes)
- WEIGHT_GPENCIL (_defs_gpencil_weight.generate_from_brushes)

ToolSelectPanelHelper._tools_flatten() is usually called with
cls.tools_from_context(context) [that already yields from the function].
But when registering a tool, _tools_flatten() will still give back this
function, not a ToolDef - and we cannot get a bl_idname from that.
Now check for this and yield None in that case.

Also share logic across all tool_flatten functions:
- _tools_flatten
- _tools_flatten_with_tool_index
- _tools_flatten_with_keymap

Maniphest Tasks: T63892

Differential Revision: https://developer.blender.org/D6763
February 20, 2020, 12:05 (GMT)
Cycles: Switched Embree to use Catmull-Rom curves.

The latest versions of Embree support Catmull-Rom splines
which use less memory than the previously used Hermite splines.
The representation is also much closer to Cycles own data structures
and can hopefully be unified in the future for more memory savings.

Memory savings using Victor benchmark scene:
Compared to previous Embree: ~400MB
Compared to Cycles' native BVH: ~1GB
February 20, 2020, 10:37 (GMT)
Fix some issues with versionning of older files.

Consequences of own refactor of usercount handling in readfile.c
(rB367ecff15d74).

Not super happy to have to call that function twice, but that should be
OK (not a real overhead here anyway).
February 20, 2020, 10:06 (GMT)
CMake: Suppress strict warnings for extern on macOS

Silences a lot of noise from Mantaflow.
February 20, 2020, 09:28 (GMT)
Fix ushort compiler errors in Windows

ushort is not supported
February 20, 2020, 09:05 (GMT)
Modifiers: Refactor Mask modifier

The functionality of the mask modifier remains unchanged.

This patch updates the mask modifier so that it uses C++.
The manual memory management has been replaced with proper containers.
The large `applyModifier` function has been splitup into multiple smaller functions.
A large speedup is achieved by using simple arrays instead of hash tables in multiple places.

In my performance test file the playback speed increased from 1.1 to 5.1 fps on my laptop.

Reviewers: campbellbarton, brecht

Differential Revision: https://developer.blender.org/D6779
February 20, 2020, 04:40 (GMT)
Cleanup: use named unsigned types in the Python API
February 20, 2020, 04:17 (GMT)
mathutils: support for to_2x2 as well as non-square matrices
February 20, 2020, 02:58 (GMT)
mathutils: support Vector.rotate for 2D vectors
February 20, 2020, 02:58 (GMT)
BLI_math: add 2x2 matrix utilities
February 20, 2020, 02:58 (GMT)
Cleanup: rename mul_m2v2 to mul_m2_v2

Matches mul_m3_v3
February 20, 2020, 01:21 (GMT)
Fix missing error message on convex hull failure

Also remove unused errors.
February 20, 2020, 01:21 (GMT)
Cleanup: remove use of 'register'

This isn't needed with modern compilers.
February 20, 2020, 01:21 (GMT)
Cleanup: unused structs
February 20, 2020, 01:19 (GMT)
Cleanup: unused enums
February 20, 2020, 00:22 (GMT)
Cleanup: declatatuons for functions that don't exist
February 19, 2020, 23:53 (GMT)
Fix T65640: Axis of Custom Shape Bones are drawn in a wrong position.

The problem is that Custom Shape Bones can also have a custom size.
So the pchan->disp_mat doesn't always consider the actual length of the bone.
The proposed solution is to calculate the axes matrix at the drawing pass.

Ref T65640

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D5049
February 19, 2020, 23:13 (GMT)
Fix T74019 Eevee High Quality Normals causing pitch black faces

Was due to a mistake when removing previous code...
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021