Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1095 / 8462

November 25, 2020, 18:27 (GMT)
Fix compile error on Windows

`alloca.h` doesn't seem to be available there.
November 25, 2020, 18:03 (GMT)
Fix broken custom preview-icons & failing script_load_addons test
November 25, 2020, 16:58 (GMT)
Merge branch 'master' into asset-browser
November 25, 2020, 16:55 (GMT)
RNA Armature: Improve the description of AxisRollFromMatrix

The roll value may not be as expected when a matrix is not orthogonal
or has a negative determinant.

This can lead to confusion as seen in T82930.

Therefore, make it clear that this is a limitation and that a value for
the roll is somewhat indeterminable in these cases.

This fixes T82930
November 25, 2020, 16:46 (GMT)
Geometry Nodes: Use context for active modifier operators

This adds "modifier" as a new context variable in the property editor.
It is used instead of getting the active modifier directly. This way it
displays in the breadcrumbs panel, and the variable can be set only
in the modifier tab, meaning it won't work from the shortcut even
when the modifiers aren't visible.
Revision 272e077 by Julian Eisel (asset-browser)
November 25, 2020, 15:58 (GMT)
Proper implementation of "Make Asset" for button context menus

Buttons or other UI elements can now set a "focused_id" context pointer. The
asset operators (and in future, general data-block operators) can use this
then. Further the UI code automatically sets it when a button represents a
data-block pointer. That way, data-block search menus or data-block selectors
also show "Make Asset" in the context menu.

This also works for material slots now, the material slot you right click will
properly set the "focused_id" context pointer, and "Make Asset" makes that
material an asset.

Had to add support for using custom context pointers to context menus and
UILists.

Addresses T82664.
November 25, 2020, 15:47 (GMT)
Cleanup: avoid very generic using-namespace statements
November 25, 2020, 15:17 (GMT)
Cleanup: minor changes
November 25, 2020, 15:01 (GMT)
GPencil: Disable vertex color when use holdout

If the material has the holdout enabled, the value of the vertex color must not be used.
November 25, 2020, 14:57 (GMT)
Geometry Nodes: hide domain enum from random attribute node

While we can support different domains already in this node, there is not
really anything you could do with that data yet. It can be added back when
there is a use case for it.
November 25, 2020, 14:55 (GMT)
Geometry Nodes: change builtin attribute names based on T82693
November 25, 2020, 14:46 (GMT)
OCIOv2: Fix compilations issues in Cycles.

This is a rough version. The result should be slower than we have. We
should find a solution where we could cache the device_processor or find
a better way how to increase the performance by evaluating an area or
using GPU processors. OCIO also has a function called
`getOptimizedCPUProcessor`.
November 25, 2020, 14:46 (GMT)
OCIOv2: Update install_deps
November 25, 2020, 14:40 (GMT)
Geometry Nodes: simplify Attribute Math node by using a new abstraction
November 25, 2020, 14:39 (GMT)
Nodes: simplify Math code by using new abstraction layer
November 25, 2020, 14:38 (GMT)
Nodes: initial abstraction to simplify math node implementations

Currently, implementing a node that supports math operations requires
you to write a long switch statement. The goal of this abstraction
is to reduce the number of these switch statements.

Note, this commit adds new such long switch cases. However, in the upcoming
commits existing math nodes are updated to use this abstraction, resulting in
less code overall.
November 25, 2020, 14:31 (GMT)
Geometry Nodes: add utility method to create a dummy attribute reader

This can be used when instead of an actual attribute, a constant value
should be used.
November 25, 2020, 14:18 (GMT)
Fix T82988: Div by zero with curve deform modifier

In `calc_curve_deform` a factor is calculated without checking if
the divisior is zero or close to zero. This patch adds the missing
checks and sets the factor to zero if the division shouldn't be
computed.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D9645
November 25, 2020, 13:57 (GMT)
XR: Add "controller draw style" session setting

Allows users to choose their preferred controller visualization
(controller local axes or -Z axis ray). The enum can be extended in
the future for additional visualizations.
November 25, 2020, 13:51 (GMT)
XR: Restore XR object transforms at session end

If an object was constrained to a headset/controller pose during the
session, then its original transform will be restored at session end
to prevent unwanted changes to the scene. This will also occur when
toggling the constraint or changing the constrained object.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021