Blender Git Commit Log

All Blender Git commits.

Page: 783 / 8462

March 26, 2021, 16:58 (GMT)
UI: Change Usages of 'WPaint' to 'Weight Paint'

Changing to a more informative 'Weight Paint' rather than 'WPaint'.

Differential Revision: https://developer.blender.org/D9905

Reviewed by Julian Eisel
March 26, 2021, 16:36 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type
March 26, 2021, 16:35 (GMT)
Merge branch 'master' into greasepencil-object
March 26, 2021, 16:29 (GMT)
Geometry Nodes: Implicit conversion change for float/int/color to bool

Change `float to boolean` and `int32 to boolean` to return false for zero and negative values.

This aligns with how artists would expect these values to work. This is in contrast to what a coder would expect. It was determined on blender.chat that this was a better default. This means that a negative float value would give a boolean false.

Change `Color4f to boolean` to return false for zero and negative grayscale values.

Likewise, for color to boolean, to account for negative value colors, the grayscale value would be used for determining if a colour was false or not.

See {T86454}

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10685
March 26, 2021, 16:29 (GMT)
Nodes: match Multi-input socket activation distance

Activation distance for multi input sockets had different length
dependend of dpi factor. That caused jumping when activation distance
became shorter than snapping distance.

Fixed by removing activation distance and using same function
which is used to evaluate snapping.

Reviewer: Dalai Felinto

Differential Revision: https://developer.blender.org/D10809
March 26, 2021, 16:27 (GMT)
OSL: add basic OSL shader template

Add a basic OSL shader that shows how inputs
and outputs work and do some simple math with
them.

This template is a happy medium between the
templates we already ship, empty_shader is a
little too bare, and the other templates are
a little "too much" and you end up having to
delete a whole bunch of stuff.

a great starting point for some experimentation!

Differential Revision: https://developer.blender.org/D9933

reviewed by: brecht
March 26, 2021, 16:25 (GMT)
Fix possible crash when blending poses

I did some casting hack to return an `AssetHandle` from a
`FileDirEntry`. But this doesn't actually work.

What I added now isn't something I'm happy with either, but it will have
to do for now. Basically we request an `AssetHandle`, which the Asset
Browser doesn't actually store, since it's just a wrapper around the
Asset Browser's `FileDirEntry`. So there is no consistent pointer the
editor could return to context queries, and the context needs a pointer
so that it can be passed around as `void *`.

Eventually once we have the planned asset storage design implemented,
the storage would include actual asset handles. So we can pass around
consistent pointers to them then.
March 26, 2021, 16:23 (GMT)
Compositor: Fix array out of bounds.
March 26, 2021, 16:23 (GMT)
Cycles: Automatically calculate resolution divider

Calculate resolution divider so that it is the lowest one which allows
to have smooth viewport navigation.
March 26, 2021, 16:23 (GMT)
Cycles: Schedule multiple samples to viewport render

The idea is to schedule 1 sample at the lower sample ranges, giving
a quick update on a noisy image, but schedule more samples and do less
often updates at higher number of samples.

There is a magic code which decides how often to do updates, which
might need some further tweaking.

Simple startup file and BMW27 on GPU are about 4% faster in viewport
now.

It is important to note that navigation is always instant. This means
that the longer render times between updates does not have affect on
how instant navigation can start.
March 26, 2021, 16:23 (GMT)
Cycles: De-duplicate time averaging helpers
March 26, 2021, 16:23 (GMT)
Cycles: Remove start resolution from user interface

It is calculated automatically now and the value from the interface
is ignored.

The TileManager becomes some sort of annoying half-commented-out piece
of code. Will be cleaned up once multiple big tiles support will be
implementing.
March 26, 2021, 16:21 (GMT)
UI: Remove "Enable physics for:" text in physics properties

The "Enable physics for:" text makes no semantic sense- i.e.
"Enable physics for Fluid". Additionally, the leading text is just not
necessary, this section is just as clear without it.

Differential Revision: https://developer.blender.org/D10537
March 26, 2021, 16:15 (GMT)
Geometry Nodes: Add remaining operations to the Vector Math node

This patch adds support for the remaining operations of the Vector Math
node within Geometry Nodes. While the operations are already available
in the UI, they hadn't been implemented, yet. With this patch the node
uses the implementation that was added for the Attribute Vector Math
node - similar to how it's handled with the Math node and Attribute
Math node.

Differential Revision: https://developer.blender.org/D10650
March 26, 2021, 16:07 (GMT)
UI: Use unified format for "Warning" in descriptions

Warnings in tooltips were using inconsistent formatting, some in
parantheses, some not, some in caps, others not, some on new lines,
some not, etc.

This patch uses a consistent new line and no capitals for these cases.

Differential Revision: https://developer.blender.org/D9904
Revision 3d25669 by Hans Goudey (master)
March 26, 2021, 15:38 (GMT)
Cleanup: Geometry Nodes: Allow using "Auto" domain to avoid adapting

Now that we have `ATTR_DOMAIN_AUTO`, it makes sense to use it to skip
automatic domain interpolation. This can make code that depends on the
non-interpolated domain of the attribute a bit simpler.
March 26, 2021, 15:15 (GMT)
Compositor automated testing

Added support for compositor tests. Compositor tests can be added, executed and viewed in a similar way to cycles
and other render engines tests.

Running test:
`ctest -R compositor`

Updating test:
`BLENDER_TEST_UPDATE=1 ctest -R compositor`

Viewing test results:
typically saved under `build_folder/tests/compositor/report.html`

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6334
March 26, 2021, 15:13 (GMT)
LibOverride optimization; Do not compare bound box of objects.

This is runtime only data, no need to deal with it.
March 26, 2021, 15:07 (GMT)
Fix T86942: GPencil does not export SVG or PDF in orthographic camera

The calculation of the 2D point was wrong when using orthographic mode.

Also small cleanup in float3 variable.

Differential Revision: https://developer.blender.org/D10828
March 26, 2021, 15:02 (GMT)
Cleanup: Replace Methode Overloading With Default Value.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021