Blender Git Commits

Blender Git "master" branch commits.

Page: 867 / 5574

March 13, 2020, 09:14 (GMT)
Fix info showing multi-line reports reversed (upside-down)

Also, only show the icon once per report.
March 13, 2020, 08:28 (GMT)
DeformMod: Performance by reusing buffers

The Deform modifiers was reallocating buffers that only fit the vertices
of the inner loop. This patch first counts the maximum needed buffer and
allocates one.

When using the daily dweebs animation file the playback performance went
from 0.66 fps to 0.93 fps.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D7132
March 13, 2020, 06:27 (GMT)
Cleanup: pass const args (mostly Scene & RenderData)
March 12, 2020, 19:47 (GMT)
Fix boundary edges detection ignoring Face Set visibility

If one of the faces connected to a vertex is hidden in the face sets, we
can assume that the vertex is part of a boundary edge, so it should be
cosidered like that in all automasking and edge detection functions.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D7126
March 12, 2020, 19:45 (GMT)
Fix flood fill operation not taking into account hidden vertices

The idea of the visibility system is that tools should behave like
hidden vertices do not exist, so the flood fill operation should ignore
hidden vertices for all operators.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D7125
March 12, 2020, 19:43 (GMT)
Use golden ratio conjugate for Face Sets hue generation

The face set ID is sequential, so implementing this was straightforward.
Suggested by Jeroen Bakker

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D7123
March 12, 2020, 19:38 (GMT)
Fix Face Set operators not modifying sigle poly Face Sets

The face_set_set function which sets a face sets given a vertex index
can ignore all modifications to hidden face sets, so we can skip all
vertex visibility checks outside that function. This makes the code
faster, simpler and fixes multiple bugs.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D7122
March 12, 2020, 19:37 (GMT)
Fix T74646: Pick a random face set to be rendered white when randomizing the colors

The previous solution was also working fine as the white face set has no
meaning, but now it is a little bit more random. Also, bigger face sets
have more chance of getting the white color.

Reviewed By: jbakker

Maniphest Tasks: T74646

Differential Revision: https://developer.blender.org/D7111
March 12, 2020, 19:36 (GMT)
Fix T74648: Do not relax with 0 neighbors or no vertex normal

The mesh provided in the report has 0 area faces and overlapping
vertices, causing the relax code to fail when calculating the plane to
constraint the vertex movement. Now it works fine both in the brush and
in the mesh filter.

Reviewed By: jbakker

Maniphest Tasks: T74648

Differential Revision: https://developer.blender.org/D7109
March 12, 2020, 19:35 (GMT)
Fix mesh shrinking when using the relax mesh filter.

If the relax mesh filter was used on a non manifold mesh with open
boundaries, all the vertices were relaxed and the mesh was shrinking.
This was an unintended behavior that was making the filter unusable with
these meshes.

The mesh filter is now initializing an automasking buffer using the same
boundary automasking function from the brush code. Now edges are
preserved and the relax filter works as it should.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D7097
March 12, 2020, 19:30 (GMT)
Fix memory leak in recent Cycles image texture refactor
March 12, 2020, 19:29 (GMT)
GPencil: Move Vertex Paint mode to topbar

It's more easy to find in the topbar
March 12, 2020, 18:39 (GMT)
GPencil: Fix color management in Vertex Paint tools

The brush is using sRGB and need to be Linear
March 12, 2020, 18:36 (GMT)
Fix T73049: Drag & drop on overlapping panels behaves incorrectly

Reviewers: brecht, Severin

Differential Revision: https://developer.blender.org/D7024
March 12, 2020, 17:08 (GMT)
Fix T74670: crash during copy paste of objects.

Embedded data should always be considered as outside of Main database
here.

Note that it's a bit of an edge case to decide whether those should
always have their `LIB_TAG_NOMAIN` set too, or not? For now, let's keep
things as they are here.
March 12, 2020, 17:08 (GMT)
Expose 'is embedded data' ID flag to RNA.

Relevant currently for root node trees and master collections.
March 12, 2020, 16:33 (GMT)
Fix T66505: Dope Sheet shows empty Grease Pencil/Annotation layers

The behaviour of GP layers is the same as annotation layers: they show
in the dope sheet regardless of whether they have frames or not. This is
easily resolved by adding some extra filtering.
March 12, 2020, 16:33 (GMT)
Cleanup: simplified Grease Pencil animdata filter

Part of the function was following an "if-ok: do-this" pattern, and then
mid-function switched to a "if-bad: skip" pattern. The function now just
uses the latter.

No functional changes.
March 12, 2020, 16:28 (GMT)
Cleanup: add device_texture for images, distinct from other global memory

There was too much image texture specific stuff in device_memory, and too
much code duplication between devices.
March 12, 2020, 16:19 (GMT)
Fix build error with recent OpenImageIO versions
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021