Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1841 / 8462

February 20, 2020, 13:51 (GMT)
Merge branch 'master' into greasepencil-object
February 20, 2020, 13:24 (GMT)
id-unique system: add also realloc utils.
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:13 (GMT)
Fix scene lighting and shadow options having no effect
February 20, 2020, 12:13 (GMT)
show float property in socket
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, 12:00 (GMT)
Merge branch 'soc-2019-openxr' into vr_scene_inspection
February 20, 2020, 12:00 (GMT)
make per socket storage work
February 20, 2020, 12:00 (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, 12:00 (GMT)
CMake: Suppress strict warnings for extern on macOS

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

ushort is not supported
February 20, 2020, 12:00 (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, 12:00 (GMT)
Cleanup: use named unsigned types in the Python API
February 20, 2020, 12:00 (GMT)
mathutils: support for to_2x2 as well as non-square matrices
February 20, 2020, 12:00 (GMT)
mathutils: support Vector.rotate for 2D vectors
February 20, 2020, 12:00 (GMT)
BLI_math: add 2x2 matrix utilities
February 20, 2020, 12:00 (GMT)
Cleanup: rename mul_m2v2 to mul_m2_v2

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

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

This isn't needed with modern compilers.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021