Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 276 / 5574

May 12, 2021, 10:18 (GMT)
Merge branch 'blender-v2.93-release'
May 12, 2021, 10:15 (GMT)
Fix incorrect labels for math node wrap function

Found in T88151, labels are swapped. Vector math node is not affected.
May 12, 2021, 08:16 (GMT)
Merge branch 'blender-v2.93-release'
May 12, 2021, 08:06 (GMT)
Fix non-finite tangent in Cycles with missing UV map

Was causing calculation issues later on in the kernel.

This change catches the most obvious case: missing attribute. The old
code was trying to set tangent to 0, but because it was transformed as
a normal it got converted to non-finite value. This change makes it so
that no transform is involved and 0 is written directly to the SVM
stack.

To cover all cases it will require using safe_normalize() in this node
and in the normal transform function. This is more involved change from
performance point of view, would be nice to verify whether we really want
to go this route.

I've left asserts in the BSDF allocation functions. Don't have strong
connection to them, but think they are handy and are not different from
having an assert in the path radiance checks.

Differential Revision: https://developer.blender.org/D11235
May 12, 2021, 08:01 (GMT)
Merge branch 'blender-v2.93-release'
May 12, 2021, 07:41 (GMT)
Cycles X: Fix possible use of uninitialized ShaderClosure

It is possible that BSDF allocation will advance pointer in the
allocation "pool" but will return null pointer if the weight is
too small.

One artist-measurable issue this change fixes is random issues
with denoising: normal pass for denoising could have accessed
non-initialized normal of a closure.

Differential Revision: https://developer.blender.org/D11230
May 12, 2021, 06:44 (GMT)
Cleanup: rename 'rt' to '_pad#' in DNA structs
Revision 193425c by Ankit Meel
May 12, 2021, 04:57 (GMT)
Cycles: fix inconsistent-missing-override warnings
LLVM Clang 13, macOS.

Reviewed By: brecht
Differential Revision: https://developer.blender.org/D11207
May 12, 2021, 02:45 (GMT)
Fix T87947: Trasnform: Keyboard input uses view orientation

When activated in modal, `translate`, `resize`, `rotate`, `shear` and
`edge_rotate_normal` use a different orientation than the set in scene.

This orientation needed to match since some of these modes can be switched
during operation.

The default orientation for these modes was `V3D_ORIENT_VIEW`.

And this changed when finishing the `translate` and `resize` to
`V3D_ORIENT_GLOBAL`.

But this could cause inconsistencies when inputting values from the
keyboard.

The solution now is to change the orientation when you change the mode.

---
Note: Although the user can expect the value entered to reflect the
orientation set in the scene, it would require a lot of changes and would
not be really useful.
May 12, 2021, 02:44 (GMT)
Cleanup: Use enum to indicate the current orientation

Improves readability.
Revision cbeeca8 by Wayde Moss
May 12, 2021, 02:00 (GMT)
NLA: Extract ..get_inverted_upper_snapshot()

Extracts `nlasnapshot_blend_get_inverted_upper_snapshot()` from
`BKE_animsys_nla_remap_keyframe_values()`

This introduces a new struct member:
`NlaEvalChannelSnapshot->remap_domain` and marks which values of
`blended_snapshot` are processed for remapping/used-for-inverting.
Effectively, it marks which values have successfully been remapped and
can be further used for remapping.

`nlasnapshot_blend_get_inverted_upper_snapshot()`:
output snapshot `r_upper_snapshot` has each channel's `remap_domain`
written to which effectively marks the successfully remapped values.
The only reason a value is not in the remap domain is if inversion
failed or it wasn't marked to be remapped.

`..get_inverted_upper_snapshot()` has a variant `nlasnapshot_blend()`
from {D10220}, but this patch doesn't depend on it at all. A third
variant will later be added `..get_inverted_lower_snapshot()`.
Altogether, these three functions allow solving for any of
(lower_snapshot, upper_snapshot, blended_snapshot) given the other two.
The function `..get_inverted_lower_snapshot()` will also similarly
process the remap domain of the blended and lower snapshot.

added assertions within `nlasnapshot_blend()` and
`..get_inverted_upper_snapshot()` to future proof branches dealing with
blendmode and mixmodes. (suggested by sybren)

No user functional changes

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D10222
May 11, 2021, 21:46 (GMT)
Geometry Nodes: Link error when implicit conversion isn't possible

This turns links red if no implicit conversion can be made between the
from socket and the to socket. For geometry nodes this happens with
object, geometry, collection, and string sockets that are connected to
a different type. The change is simply implementing a callback that is
already implemented for other node tree types.

Differential Revision: https://developer.blender.org/D11229
May 11, 2021, 21:35 (GMT)
Merge branch 'blender-v2.93-release'
May 11, 2021, 21:31 (GMT)
Fix wrong loop count in Sculpt Expand code

Introduced when refactoring the function in
8815e3e3303933e2cc662f15fc9d11ca68a47d16
May 11, 2021, 21:05 (GMT)
Merge branch 'blender-v2.93-release'
May 11, 2021, 20:24 (GMT)
Fix T72791: Cycles wrong results when mixing multiple random walk BSSRDFs

Take into account the closure sample weight for the throughput.

Differential Revision: https://developer.blender.org/D10936
May 11, 2021, 20:19 (GMT)
Fix T88093: persistent data and particle object instancing not working
May 11, 2021, 13:03 (GMT)
Cleanup: unused variable warning
May 11, 2021, 12:24 (GMT)
Fix T88099: error with persistent data and motion blur
May 11, 2021, 10:15 (GMT)
Geometry Nodes: Add Attribute Vector Rotate node

Port vector rotate node to geo attributes.

Request by @simonthommes

Reviewed By: simonthommes, HooglyBoogly
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021