Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1013 / 8462

January 9, 2021, 08:07 (GMT)
Cleanup: use bool arguments & variables
January 9, 2021, 07:42 (GMT)
Fix UV selection threshold which ignored image aspect and zoom level

Selecting UVs wasn't properly scaling based on the zoom or image aspect.

This now matches vertex selection in the 3D view.
Revision 645298b by Hans Goudey (master)
January 9, 2021, 05:10 (GMT)
Fix build error after last commit
Revision 1bb5307 by Hans Goudey (master)
January 9, 2021, 05:09 (GMT)
Cleanup: Use bool instead of int
Revision 9c07454 by Hans Goudey (master)
January 8, 2021, 23:19 (GMT)
Keymap: Enable repeat for "Make Edge/Face" operator

The "repeat" property was turned off by default in rBf5080c82dd91, but
it's important to have repeat turned on for this operator since it can be
used to fill large areas. This commit is similar to rBaa77689f77b4.

Fixes T84531
Revision 69a22a7 by Hans Goudey (master)
January 8, 2021, 22:29 (GMT)
Geometry Nodes: Don't start with empty group nodes selected

The nodes were selected in new node groups because they are by default,
but there's no particular reason for them to be selected, and it can
be distracting.
January 8, 2021, 21:59 (GMT)
Geometry Nodes: support object and collection settings in the modifier.
Revision 7fd19c2 by Hans Goudey (master)
January 8, 2021, 21:04 (GMT)
Geometry Nodes: Gray out "New" button when curve object is active

Currently curve objects aren't supported by the node modifier, so the
new node group and modifier operator shouldn't be available.
Revision 3c1fcec by Hans Goudey (master)
January 8, 2021, 18:12 (GMT)
Fix T84517: Two geometry node trees added with "New" button

Adding the modifier itself already adds a new node tree, which is
then displayed in the node editor because of the active object and
active modifier context. So there's no need to create the node tree
in the python code in this case.
January 8, 2021, 15:39 (GMT)
Scenes: forbid deleting last local scene

Previously, it was only forbidden to delete the last scene. This can
lead to the situation where a .blend file only contains linked scenes.
This is problematic, because linked data might not always be available
or can be removed from a .blend file without having an additional check
for remaining scenes.

Now there always has to be at least one local scene.

Reviewers: mont29

Differential Revision: https://developer.blender.org/D10049
January 8, 2021, 15:11 (GMT)
Merge branch 'master' into temp-gpencil-interpolate
January 8, 2021, 15:10 (GMT)
Merge branch 'master' into greasepencil-object
January 8, 2021, 14:22 (GMT)
Fix T84453: Crash bezier curves transfrom

The pointer allocated to the `TransData` was being incorrectly incremented,
causing misalignment and consequently `heap-buffer-overflow`.

Because of this, `TD_NOTCONNECTED` was being set in a strange way that did
not correspond to other types of `TransData`.

The solution is to not increment the `TransData` pointer and set
`TD_NOTCONNECTED` only for "unconnected" segments.

The code was also a bit deduplicated.
January 8, 2021, 14:07 (GMT)
Icons: Update script to generate icons from SVGs for Inkscape 1.0

The command line syntax for Inkscape changed quite a bit for the 1.0 release,
see https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line.
Think it's reasonable to expect Inkscape 1.0 or later be installed if you want
to generate the icons with the script. It's easy to get via the website, if the
distribution doesn't provide new enough packages. Only few people would use the
script anyway.

I also had to change the path for command line access on macOS which apparently
changed (https://stackoverflow.com/a/60068607). Although I didn't find a
mention of this change in the Inkscape release notes.
January 8, 2021, 12:38 (GMT)
Fix Cycles rendering with OptiX after instance limit increase when building with old SDK

Commit d259e7dcfbbd37cec5a45fdfb554f24de10d0268 increased the instance limit, but only provided
a fall back for the host code for older OptiX SDKs, not for kernel code. This caused a mismatch when
an old SDK was used (as is currently the case on buildbot) and subsequent rendering artifacts. This
fixes that by moving the bit that is checked to a common location that works with both old an new
SDK versions.
January 8, 2021, 11:14 (GMT)
Fix T83942: improve error checking when trying to render high resolution volume

Reviewers: fclem

Differential Revision: https://developer.blender.org/D10032
January 8, 2021, 10:54 (GMT)
Cleanup: clang format
January 8, 2021, 10:52 (GMT)
Surface Deform: fix binding vertex artifacts causing spikes.

There are two issues here. First, like in T81988 there are cases
where the modifier would deform some vertices immediately after
bind. This is caused by wrong assumptions in the code about the
possible relative angles between various vectors, which can cause
negative weights that don't blend correctly to appear.

Specifically, it seems originally the code assumes that the
centroid-point vector in the polygon plane lies somewhere
between the mid-edge vectors. This is however not necessarily
the case for distant vertices, because the polygon is not
guaranteed to be truly planar, so normal projection may be
a bit off. The code has to use signed angles and checks to
support all possible angular arrangements.

The second issue is very thin and long triangles, which tend
to be very spatially unstable in their thin dimension, resulting
in excess deformation. The code was weighting distance using
the distances between the centroid and the mid-edge points, which
in this case end up as nearly opposite vectors of sizable length
and don't correctly represent how thin the triangle actually is.
It is thus better to use centroid-to-line distances, and an
additional even stricter value for the midpoint that will use
only 3 vertices at evaluation time.
January 8, 2021, 10:50 (GMT)
Fix T84475: Outliner missing update when adding IDs to main via RNA

Was reported for meshes, but was true for any type.
Now add appropriate notifier to refresh the Outliner.

Maniphest Tasks: T84475

Differential Revision: https://developer.blender.org/D10030
January 8, 2021, 10:44 (GMT)
GPU: Mark AMD Polaris 20.11+ drivers with limited support.

The issue does not render wireframes correctly.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021