Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 253 / 5574

June 2, 2021, 15:12 (GMT)
Cleanup: unused variable
June 2, 2021, 15:11 (GMT)
Fix swapped x/y in event simulation script

Incorrect area center calculation, also correct comments.
Revision 05b6859 by Hans Goudey
June 2, 2021, 15:11 (GMT)
Fix T88732: Curve to mesh node crash with empty input curve

The mesh to curve node generated an empty curve because no edges were
selected. This commit changes that node to not add a curve in that case.

This also changes the curve to mesh node to not add a material when
no mesh was created. Even though we don't expect null curves or meshes
in this case, the change is harmless.
June 2, 2021, 14:58 (GMT)
EEVEE: AOVs not same as cycles.

EEVEE uses hashing to sync aov names and types with the gpu.
For the type a hashed value was overridden making `decalA`
and `decalB` choose the same hash. This patches fixes this
by removing the most significant bit.
June 2, 2021, 14:56 (GMT)
Revert "EEVEE: AOVs not same as cycles."

This reverts commit 730a46e87d261543c9550ddef406894e14d5bea6.
June 2, 2021, 14:54 (GMT)
EEVEE: AOVs not same as cycles.

EEVEE uses hashing to sync aov names and types with the gpu. For the type a hashed value was overridden making `decalA` and `decalB` choose the same hash. This patches fixes this by removing the most significant bit.
June 2, 2021, 14:43 (GMT)
GPencil: New operator to Normalize strokes

Sometimes is required to reset the thickness or the opacity of the strokes. Actually this was done using a modifier, but this operators solves this.

Reviewed By: mendio, filedescriptor

Maniphest Tasks: T87427

Differential Revision: https://developer.blender.org/D11453
Revision 21de669 by Hans Goudey
June 2, 2021, 13:11 (GMT)
Splines: Function to copy spline settings without data

Often you need to copy a spline to do an operation, but don't want
to manually copy over all of the settings. I've already forgotten to
do it once anyway. These functions copy a spline's "settings" into a
new spline, but not the data. I tried to avoid duplicating any copying
so this is easier to extend in the future.

Differential Revision: https://developer.blender.org/D11463
Revision 5b176b6 by YimingWu
June 2, 2021, 12:55 (GMT)
LineArt: Tolerance for faces perpendicular to view

This is due to cam->obmat precision issue,
where it affects view vector precision.

Reviewed by Sebastian Parborg (zeddb)

Differential Revision: https://developer.blender.org/D11461
Revision a55b734 by Hans Goudey
June 2, 2021, 12:28 (GMT)
Cleanup: Correct comments

This corrects an outdated comment in the vector header and a typo
in the index mask header.
Revision ea6d099 by Hans Goudey
June 2, 2021, 12:27 (GMT)
Cleanup: Clang format
Revision 34f99bc by Hans Goudey
June 2, 2021, 12:24 (GMT)
Geometry Nodes: Allow reading converted attribute directly from spline

Often it would be beneficial to avoid the virtual array implementation
in `geometry_component_curve.cc` that flattens an attribute for every
spline and instead read an attribute separately for every input spline.
This commit implements functions to do that.

The downside is some code duplication-- we now have two places handling
this conversion. However, we can head in this general direction for the
attribute API anyway and support accessing attributes in smaller
contiguous chunks where necessary.

No functional changes in this commit.

Differential Revision: https://developer.blender.org/D11456
June 2, 2021, 12:13 (GMT)
Add workaround for gcc 11 compiler bug

Differential Revision: https://developer.blender.org/D11462
June 2, 2021, 11:34 (GMT)
Keymap: use D-Key for view-pie menu

Use the D-key to access the view menu instead of the Tilda key,
which isn't accessible on some international layouts.

To resolve the conflicts the following changes have been made.

- `D` (motion) opens the view menu.
- `D` (mouse-button) uses grease-pencil (as it does currently).
- `Tilda` is used to for "Object Mode Transfer" instead of the View menu.

See T88092 for details.

Reviewed By: Severin

Ref D11189
June 2, 2021, 11:29 (GMT)
Object: support running transfer mode in any object mode

There is no need to limit this to sculpt mode,
prepare for key short cut changes, see: T88092.
June 2, 2021, 11:22 (GMT)
Docs: 2.93 release description for Linux appdata
June 2, 2021, 08:05 (GMT)
Fix T88567: Cryptomatte only works for the first View Layer.

The view layer was always set to 0. This patch increments it.
June 2, 2021, 07:35 (GMT)
Docs: formalize naming for generic callbacks in BKE_callbacks.h

Add a doc-string explaining the purpose of each call back and
how they should be used.

Also add a currently unused callback 'POST_FAIL' that is to be used in
cases the action fails - giving script authors, a guarantee that a
call to `pre` will always have a matching `post/post_fail` call.

- D11422: adds a callback that can use 'post_fail'.
- T88696: proposed these conventions.
June 2, 2021, 07:06 (GMT)
Cleanup: trailing commas to avoid right shift

This matches most declarations already in this file.
June 2, 2021, 07:04 (GMT)
Cleanup: spelling in comments
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021