Blender Git Loki

Kaikki Blender Git kommitit.

Page: 71 / 8462

November 22, 2021, 15:47 (GMT)
Merge remote-tracking branch 'origin/blender-v3.0-release'
November 22, 2021, 15:46 (GMT)
Material Preview: Fix Sphere object (squared UV and poles)

A good sphere preview material has a 1:1 UV ratio (so we see squares as
least distorted as possible), as well as good poles.

Square UV:
The original sphere expected a 2:1 panorama to be mapped to it. This
patch changes that (I scaled Y by 0.5) so that square textures look ok.

Poles:
The original sphere had a low initial resolution, so no ammount of
subdivision would fix the poles.

The sphere has a subdivision modifier with 0 resolution. Later (3.1?) I
want to try to change the resolution on-the-fly based on whether the material
has a displacement map.

Old sphere (1.9K vertices):
{F11845752, size=500px}

New sphere (2.0K vertices):
{F11845710, size=500px}

Differential Revision: https://developer.blender.org/D13309
November 22, 2021, 15:35 (GMT)
Fix T93074: Gpencil cutter not using flat caps in middle cuts

When cut an stroke using the option Flat Caps, the falt was not done if the cut was done in the middle of the stroke.

Now the flat is applied to the segments created and also some cleanup of the code done.
November 22, 2021, 15:28 (GMT)
Fix T92760: Crash erasing GPencil when occlusion test is enabled

`pt0` was read when `NULL` and `is_occluded_pt1` could be read even if
it is not initialized.
November 22, 2021, 15:20 (GMT)
GPencil: Speed up Occlude Eraser

This is an initial change to speed up the calculation of the Occlude eraser. In the future, we can add more optimizations, but at least this increase speed.

Intead to check always the 3 points, the check is skipped if it's not required.

Base in a solution by Philipp Oeser.

This is related to T88412

November 22, 2021, 15:12 (GMT)
Merge branch 'master' into universal-scene-description
November 22, 2021, 14:52 (GMT)
Moviecache: Fix potential memory corruption.

`IMB_moviecache` is implemented as a singleton. When destructing the
singleton via `IMB_moviecache_destruct` it will not be created anymore
resulting inusage of unallocated memory and potentional memory
corruption.

When running blender this doesn't happen, but when creating images in
test cases the moviecache should be able to be recreated after it is
destroyed.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D13287
November 22, 2021, 14:37 (GMT)
Merge branch 'master' into temp-vert-normals-cleanup
November 22, 2021, 14:36 (GMT)
Painting: Performance curve masks.

This patch separates the static-part from the dynamic-part when
generate brush masks. This makes the generation of brush masks 2-5 times
faster depending on the size of the brush.

More improvements can be done, this was just low hanging fruit.
Revision 178947d by Hans Goudey (master)
November 22, 2021, 14:34 (GMT)
Merge branch 'blender-v3.0-release'
November 22, 2021, 14:33 (GMT)
Fix T92631: Fix negative thickness regression in complex solidify

This regression was introduced by D11832, but there was problems before
that as well. I seem to have missed it in review. See the differential
revision for a screenshot of the difference.

Differential Revision: https://developer.blender.org/D13216
Revision 77ddc6e by Hans Goudey (master)
November 22, 2021, 13:47 (GMT)
Fix T93250: Crash in spreadsheet tree view after recent commit

It seems that update_from_old assumed there would be an old
tree view available in the old block. This works for the asset browser
because the tree is always drawn, but for the spreadsheet that depends
on having an active object, which isn't necessarily always true.

Differential Revision: https://developer.blender.org/D13301
November 22, 2021, 13:33 (GMT)
Fix potential crash opening 3.0 blend files in older versions.

Affects insertion of constraints in liboverrides. In some cases, when
opening newer post-3.0 .blend files, the source won't be found anymore,
override apply code then needs to fail properly instead of crashing.

Related to refactor from rB33c5e7bcd5e5.
November 22, 2021, 13:29 (GMT)
Fix potential crash opening 3.0 blend files in older versions.

Affects insertion of constraints or NLA tracks in liboverrides. In some
cases, when opening newer post-3.0 .blend files, the source won't be
found anymore, override apply code then needs to fail properly instead
of crashing.

Related to refactor from rB33c5e7bcd5e5.
November 22, 2021, 12:49 (GMT)
Merge branch 'blender-v3.0-release'
November 22, 2021, 12:42 (GMT)
Fix T93198: Frame Selected in greasepencil curve editing does not work

Was not taking into account curve points at all.

Maniphest Tasks: T93198

Differential Revision: https://developer.blender.org/D13281
November 22, 2021, 10:22 (GMT)
Cleanup: Removed unused code in curve mask creation.

Generating curve mask for 2d texture painting had some hard-coded
parameters that eventually weren't used in the algorithm (hardness and
rotation of the brush). This patch removes these parameters.
November 22, 2021, 09:46 (GMT)
Cleanup: Make parameter const (BKE_brush_curve_strength_clamped).
November 22, 2021, 09:46 (GMT)
Painting: migrated curve mask generation to CPP.

Curve mask generation is done during 2d texture painting. There are some
performance issues in this part of the code. Before addressing those we
move the code to CPP.
November 22, 2021, 09:39 (GMT)
Revert "Fix (unreported) broken handling of constraints reordering with liboverride."

This reverts commit 6eaa69c66c98d291b80331330391664415f759a4.

Committed by nistake, sorry for the noise.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021