Blender Git Commits

Blender Git "master" branch commits.

Page: 335 / 5574

March 23, 2021, 14:33 (GMT)
Fix T86073 : Ctrl clicking 3 times without selecting any of the verts in NurbsPath leads crash.

Crash occurs at `assert(builder->index_len < builder->max_index_len)`.

Non-bezier nurbs were being created with abnormal values causing the
causing edge count in the draw manager to be incorrect.

This commit also deduplicates and adds descriptions to the code.

Thanks @PratikPB2123 for pointing out where the error is.
March 23, 2021, 13:59 (GMT)
Outliner: Do not crash when drawing unknown view type.

Instead default to Viewlayer view.
March 23, 2021, 13:59 (GMT)
LibOverride: Also consider RNA Collection in 'need resync' detection.

RNA collections can store lists of ID pointers, so they require a similar handling for RNA pointers.
March 23, 2021, 11:05 (GMT)
Cleanup: remove internal functions from interface.
March 23, 2021, 11:04 (GMT)
Compositor: Display generated inputs in Viewers and Previews

Currently viewers and previews only display node trees that have at least one node with fixed resolution size. When all inputs are generated, nothing is displayed in most cases (RGB Node is displayed as a single pixel on previews). By generated I mean inputs not having resolution on their own, they create content dynamically given an output resolution.

This patch adds support for those cases by using an appropriate preferred resolution on Viewers/Previews which propagates to generated inputs as output resolution. Now:
- Viewers will display generated inputs with scene render resolution.
- Previews will display them with scene aspect ratio.
This is consistent with final render result and respects relative space.

The benefit for the user is being able to compose images without any input source. For example for creating mask images or simple backgrounds.

Reviewed By: Jeroen Bakker

Differential Revision: https://developer.blender.org/D10611
March 23, 2021, 10:59 (GMT)
Cleanup: Silence compile warning.
March 23, 2021, 10:59 (GMT)
Cleanup: remove unused include.
March 23, 2021, 10:47 (GMT)
RNA: support automatically mapping string property to char pointer

The goal of this patch is to remove the boilerplate code required to get
a string property that maps to an allocated char pointer in dna.
Previously, one to to provide three callbacks, all of which are not necessary
anymore for a simple string property.

Currently, when an empty string is assigned, the `set` function will always
allocate it as well, instead of assigning `NULL` to the pointer. Some structs
might support `NULL` while others don't, so this is the safer option for now.

Differential Revision: https://developer.blender.org/D10773
March 23, 2021, 10:23 (GMT)
VSE: Sanitize move_to_meta usage

There were multiple cases that could lead to problems like moving meta
strip into itself or into it's children meta strips.

Print error string to console when invalid action is requested.
March 23, 2021, 09:59 (GMT)
Nodes: Add Refract and Faceforward functions to Vector Maths nodes

Cycles, Eevee, OSL, Geo, Attribute

Based on outdated refract patch D6619 by @cubic_sloth

`refract` and `faceforward` are standard functions in GLSL, OSL and Godot shader languages.
Adding these functions provides Blender shader artists access to these standard functions.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D10622
March 23, 2021, 09:50 (GMT)
Cryptomatte: Node Size.

Made it just a bit smaller (same size as renderlayers node).
March 23, 2021, 09:41 (GMT)
Spreadsheet: show comma separators in number of rows
March 23, 2021, 09:39 (GMT)
Cryptomatte: Default Node Size.

Set the min/max and default node size of the cryptomatte node.
March 23, 2021, 09:28 (GMT)
Geometry Nodes: show domain in attribute fill node

Differential Revision: https://developer.blender.org/D10789
March 23, 2021, 07:34 (GMT)
Curves: add taper mode option

Currently, when a taper object is specified, the radius of the spline is
ignored. This patch adds a new option to control how the taper object
affect the effective radius of the spline. The option allow three modes
of operation:

- Override: The old method. The radius of the spline is ignored and
overridden.
- Multiply: The radius of the spline is multiplied by the taper radius.
- Add: The radius of the spline is added to the taper radius.

Ref D10779
March 23, 2021, 07:14 (GMT)
FIX: Incorrect link drawing after link cutting tool

Sorting of links on multi-input sockets where not recalculated after
using the knife operator. Added call to resort function before
cutting operator finishes.

Reviewer: Jacques Lucke

Differential Revision: https://developer.blender.org/D10783
Revision 2600b27 by Ankit Meel
March 23, 2021, 06:41 (GMT)
Cleanup/CMake: Fix comment, sort order of options.
March 23, 2021, 05:49 (GMT)
Fix error in clip.setup_tracking_scene with cycles

Regression in e9182a0f5d0b1700e4bcdc11d0110ba7e9b97a0c
March 23, 2021, 05:21 (GMT)
Cleanup: unused variables, imports
March 23, 2021, 05:08 (GMT)
Cleanup: single quotes for Python enums, spelling
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021