Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

2 hours 42 min ago
Cycles API: encapsulate Node socket members

This encapsulates Node socket members behind a set of specific methods;
as such it is no longer possible to directly access Node class members
from exporters and parts of Cycles.

The methods are defined via the NODE_SOCKET_API macros in `graph/
node.h`, and are for getting or setting a specific socket's value, as
well as querying or modifying the state of its update flag.

The setters will check whether the value has changed and tag the socket
as modified appropriately. This will let us know how a Node has changed
and what to update, which is the first concrete step toward a more
granular scene update system.

Since the setters will tag the Node sockets as modified when passed
different data, this patch also removes the various `modified` methods
on Nodes in favor of `Node::is_modified` which checks the sockets'
update flags status.

Reviewed By: brecht

Maniphest Tasks: T79174

Differential Revision: https://developer.blender.org/D8544
5 hours 17 min ago
Sculpt/Paint: Add Paint Studio Light preset

This studio light preset is designed for color painting tasks. As color
are multiplied on top of the current studio light/matcap, this should be
as white as possible and with very soft speculars to avoid color
distorsion while showing the volume of the mesh.

Reviewed By: jbakker, JulienKaspar

Differential Revision: https://developer.blender.org/D8209
7 hours 17 min ago
Merge branch 'blender-v2.91-release' into master
7 hours 23 min ago
Fix own previous commit re testing of `BLI_rel_path`.

Windows would need its own version of those tests, for now just
disabling them on that platform.
8 hours 16 min ago
Merge branch 'blender-v2.91-release' into master
8 hours 16 min ago
Fix T81421: "Saving As..." a blend file with a Script node file path filled with 1023 symbols crashes Blender.

Usual lack of protection against buffer overflows when manipulating
strings.

Also add some basic tests for `BLI_path_rel`.
8 hours 30 min ago
Fix T81421: "Saving As..." a blend file with a Script node file path filled with 1023 symbols crashes Blender.

Usual lack of protection against buffer overflows when manipulating
strings.

Also add some basic tests for `BLI_path_rel`.
9 hours 19 min ago
Merge branch 'blender-v2.91-release'
9 hours 29 min ago
UI: Datatransfer modifier: set mix factor inactive when not in use

For Customdata layer copying, interpolation with the mixfactor is only
done for certain mix modes, now set the UI inactive if the mixfactor is
not in use.

Namely, the modes are the "Above / Below Threshold" which are only used
for flags, colors and normals and mixing is not supported in these cases.

Spotted while looking into T81914.

Differential Revision: https://developer.blender.org/D9327
10 hours 9 min ago
Cycles: Add support for OptiX 7.2 SDK
11 hours 19 min ago
Merge branch 'blender-v2.91-release'
11 hours 21 min ago
Fix T82079: Missing viewport redraw changing volume slicing axis

Send appropriate notifiers (via rna_Volume_update_display).

Maniphest Tasks: T82079

Differential Revision: https://developer.blender.org/D9351
12 hours 0 min ago
Merge remote-tracking branch 'origin/blender-v2.91-release'
12 hours 1 min ago
Fix T81890: Active keyframe changes on deselect of keyframe

Activate an FCurve only on selecting, and not on deselecting a keyframe
or a handle.

Reviewed By: HooglyBoogly, Severin, looch, #animation_rigging

Differential Revision: https://developer.blender.org/D9328
12 hours 1 min ago
Fix: Animation, Draw active keyframe handles only when Bzier

Draw the handles for the active keyframe only when the interpolation type
is set to Bzier. This now matches the behaviour of handles of regular
(non-active) keyframes.
12 hours 46 min ago
Merge branch 'blender-v2.91-release'
Revision f76f48c by Philipp Oeser / Philipp Oeser
13 hours 1 min ago
Fix T69911: Adaptive subdivision offscreen dicing does not work correctly if the camera is shifted

Code was assuming frustrum planes are symmetrical which is not the case
for shifting. This lead to a shrinking region if shift was negative (and
a growing region if shift was positive)

So instead of only keeping track of plane on one side (and mirroring
over in code) get the actual planes after shifting and use these
instead.

This code corrects this for ortho and perspective cameras, it does not
touch panoramic cameras.

Reviewed By: brecht

Maniphest Tasks: T69911

Differential Revision: https://developer.blender.org/D9342
13 hours 22 min ago
Cleanup: compiler warnings
13 hours 22 min ago
Fix T81893: Cycles viewport crash changing mesh to smoke domain

Now that volume is a dedicated geometry type in Cycles, we need to re-allocate
the geometry when a mesh changes into a volume.
13 hours 46 min ago
Merge branch 'blender-v2.91-release'
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020