Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1219 / 8462

October 8, 2020, 23:50 (GMT)
Merge branch 'master' into cycles_procedural_api
October 8, 2020, 23:30 (GMT)
Format changes.
October 8, 2020, 22:45 (GMT)
USD importer: Initial implementation of parenting hierarchy logic.
October 8, 2020, 22:15 (GMT)
Cycles: fix incorrect default value for node array socket type
October 8, 2020, 22:15 (GMT)
Cycles: fix incorrect asserts in node socket set functions
October 8, 2020, 21:10 (GMT)
Fix broken compilation after adding particles DNA defaults.

Was failing because of a mismatch between RNA and DNA defaults on
`courant_target` property, removed RNA one (DNA came from initial value
defined in BKE's particle creation code, think it's best to keep that
one).
October 8, 2020, 19:25 (GMT)
UI: Fix opacity of the popover arrow outline

Due to the old AA method, it was necessary to add transparency to the
outline of the popover arrow to match the box outline opacity. This is
no longer required after rB15dda0115c78.

See the differential for before and after screenshots.

Differential Revision: https://developer.blender.org/D9026
October 8, 2020, 19:12 (GMT)
Fix T80974 GPU: Wide Line emulation shader does not always works

This was caused by points well behind the near clip making the
computation of the width wrong.

The fix is to clip the line to the near clip plane.
Revision a31a87f by Ankit Meel (master)
October 8, 2020, 17:44 (GMT)
T81340: UBSan: load of value .. not valid for GPU enum type

The underlying type of the enum cannot be fixed here due to its usage
in C code.

All the values possible in the width of the underlying type are not
valid for an enum.
Only 0 to (2*max - 1) if all enumerators are unsigned.
So the macro asks for the biggest value among the //listed// ones.
If any enumerator C is set to say `A|B`, then C would be the maximum.
(2*max-1) is used as the mask.

The warnings (for each enum modified in this commit):
GPU_vertex_buffer.h:43:1: runtime error: load of value 4294967291
which is not a valid value for type 'GPUVertBufStatus'

https://github.com/llvm/llvm-project/commit/1c2c9867

Ref T81340

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D9067
October 8, 2020, 16:39 (GMT)
Fix T81529: Can't move with constraint to a zero-size local axis

To fix the problem, it was necessary to create a fallback for the
zero-sized axis in local orientation.

This also affects the gizmos.
October 8, 2020, 16:39 (GMT)
Cleanup: Move transform_orientations functions to separate header

Improves the organization and identification of the API.
October 8, 2020, 16:39 (GMT)
Cleanup: Simplify transform_orientation_matrix_get

This simplifies obtaining the parameters for internal functions.
(switch was complicating a little)

Also removes ureachable code.
October 8, 2020, 16:39 (GMT)
Cleanup: Simplify use of 'Snapping Gears'

This commit removes `t->snap[0]` and `t->snap_spatial[0]`.

They were not actually being used, and could add overhead for
transformation without snap.
October 8, 2020, 16:19 (GMT)
Refactor CustomData interpolation code.

- Move some security checks outside of `interp` callbacks.
Namely, that we do get interpolation weights, and have something to
interpolate.
Some callbacks where not checking on those anyway, safer to move that
up into calling code.

- Cleanup usage of sub-weights, lots of interpolation callbacks wher
actually using those completely wrong.

- Change default behavior when no weights are given to higher-level API
functions: prevriously, each callback was responsible to handle that
case (and one did not even do it!), they were switching to purely
additive behavior then.
Instead, we now default to expected simple average of source values.

Note that the only real important change here is defaulting to actual
average of source value when no inertpolation weights are given (afaik,
this only happens in Weld modifier code).

Differential Revision: https://developer.blender.org/D9114
October 8, 2020, 16:19 (GMT)
Cleanup/refactor: move init of ParticleSettings to proper place.
October 8, 2020, 16:19 (GMT)
Add DNA defaults for ParticleSettings.
October 8, 2020, 16:17 (GMT)
DNA: cleanup endian switching when loading file

This patch "modernizes" `DNA_struct_switch_endian` similar to
how I updated `DNA_struct_reconstruct` recently. Furthermore,
some special case handling have been moved to another place.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D9089
October 8, 2020, 15:58 (GMT)
Revert "BGL: Workaround broken bgl usage caused by GPU refactor"

This reverts commit f12b0373f322b710b9fa5cebb67bdf363ff90e9f.
October 8, 2020, 15:37 (GMT)
UI: Add icons for new sculpt trim tools

This patch adds missing icons for the new trim tools in sculpt mode.
Although these tools recently got "add geometry" modes, it's more
essential to highlight the most important feature of the tool,
trimming, than to try to portray everything they can do.

Differential Revision: https://developer.blender.org/D8963
October 8, 2020, 15:19 (GMT)
Cleanup/refactor: move init of MovieClip to proper place.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021