Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1051 / 5574

September 12, 2019, 12:44 (GMT)
BLI: fix unregistering timer with same id twice
September 12, 2019, 12:23 (GMT)
BLI: new C++ ArrayRef, Vector, Stack, ... data structures

Many generic C++ data structures have been developed in the
functions branch. This commit merges a first chunk of them into
master. The following new data structures are included:

Array: Owns a memory buffer with a fixed size. It is different
from std::array in that the size is not part of the type.

ArrayRef: References an array owned by someone else. All elements
in the referenced array are considered to be const. This should
be the preferred parameter type for functions that take arrays
as input.

MutableArrayRef: References an array owned by someone else. The
elements in the referenced array can be changed.

IndexRange: Specifies a continuous range of integers with a start
and end index.

IntrusiveListBaseWrapper: A utility class that allows iterating
over ListBase instances where the prev and next pointer are
stored in the objects directly.

Stack: A stack implemented on top of a vector.

Vector: An array that can grow dynamically.

Allocators: Three allocator types are included that can be used
by the container types to support different use cases.

The Stack and Vector support small object optimization. So when
the amount of elements in them is below a certain threshold, no
memory allocation is performed.

Additionally, most methods have unit tests.

I'm merging this without normal code review, after I checked the
code roughly with Sergey, and after we talked about it with Brecht.
September 12, 2019, 11:33 (GMT)
Cycles: Fix Show Instanced Local View Objects

The local view check in the RNA didn't support instanced objects. Every
object has a copy of the local_view_bits from the base. This patch
changes the check to look at the local stored bits.

This patch removes the check if the object is part of the view_layer.
In the cases we are using it this check is not relevant. The `mesh_tissue`
add-on also uses it, and is not effected by this change.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5773
Revision 613b37b by Omar Emara
September 12, 2019, 11:09 (GMT)
Shading: Add More Features To The Voronoi Node.

This patch allows the Voronoi node to operate in 1D, 2D, and 4D space.
It also adds a Randomness input to control the randomness of the texture.
Additionally, it adds three new modes of operation:

- Smooth F1: A smooth version of F1 Voronoi with no discontinuities.
- Distance To Edge: Returns the distance to the edges of the cells.
- N-Sphere Radius: Returns the radius of the n-sphere inscribed in
the cells. In other words, it is half the distance between the
closest feature point and the feature point closest to it.

And it removes the following three modes of operation:

- F3.
- F4.
- Cracks.

The Distance metric is now called Euclidean, and it computes the actual
euclidean distance as opposed to the old method of computing the squared
euclidean distance.

This breaks backward compatibility in many ways, including the base case.

Reviewers: brecht, JacquesLucke

Differential Revision: https://developer.blender.org/D5743
September 12, 2019, 10:27 (GMT)
Fix T69789: Assert when create a new Full Copy scene base on 2D template.

Private ID data (nodetrees and scene collections...) need special care
and handling of their copy flags, and checks must be adapted too.

In that case, issue came from the fact that even though those IDs have
to be copied outside of bmain, we may still require usercount handling.

That commit also fixes a somewhat related issue - we cannot use the
non-id private data copying flag for private IDs copying, due to
difference in handling of usercount again.
September 12, 2019, 10:23 (GMT)
UI: Sub-type for Screen Grab Size.

Set to Pixel.
September 12, 2019, 10:23 (GMT)
UI: Wrong label in Screen Grab Size.

It was using "screen_grab_size" as label.
September 12, 2019, 10:23 (GMT)
UI: Labels capitalization.

Capitalize the first letter of a word, except articles and prepositions.
September 12, 2019, 09:34 (GMT)
Fix T69785: crash dragging in empty space in edit mode
September 12, 2019, 09:34 (GMT)
Cleanup: compiler warnings
September 12, 2019, 09:24 (GMT)
Fix T69582: Empties no longer support Rigid Body Constraints

This is caused by rB1342d1879e12 and would also break the whole
"Connect" workflow [which relies on empties]

Reviewers: mont29, brecht

Maniphest Tasks: T69582

Differential Revision: https://developer.blender.org/D5772
September 12, 2019, 09:14 (GMT)
Fix T69782: crash using gizmos in grease pencil edit mode
September 12, 2019, 08:59 (GMT)
Cleanup: line breaks with comments
September 12, 2019, 08:25 (GMT)
Fix crash when doing cycles rendering

During F-12 Rendering the passed screen was Null, but decoded as a
number. In stead of a Null a 0 will be send to cycles python wrapper.
September 12, 2019, 07:08 (GMT)
Cycles: Initial Support For Local View

This diff will add support for local view to Cycles rendered preview mode.

Currently the implementation shows same results as EEVEE does. This entails
a difference with Blender 2.79, where lights were automatically added to the
local view. {T69780} describes this should be solved before the next release.

This patch also solves missing `owner_id` issues when using the RNA CPP Api
from Cycles. Cycles didn't provide the `owner_id` making some functionality
fail, what then was worked around in Blender. It also fixes an issue in
`makesrna` where incorrect CPP code was generated when only `PARM_RNAPTR`
was provided.

An optional `view_layer` parameter is added to the `Object.local_view_get`
method to reduce lookups.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5753
September 12, 2019, 01:55 (GMT)
Fix T69737: Crash using the Elastic Deform brush and Compressibility

Also renamed "compressibility" to "volume preservation"

Reviewed By: brecht

Maniphest Tasks: T69737

Differential Revision: https://developer.blender.org/D5757
September 11, 2019, 21:31 (GMT)
3D View: only show origin axes when in object mode
September 11, 2019, 21:28 (GMT)
Fix transforming armature origins

Using geometry update doesn't work on armatures.
September 11, 2019, 20:53 (GMT)
DNA: use defaults for SceneEEVEE
September 11, 2019, 20:48 (GMT)
DNA: move View3D, View3DOverlay into DNA_view3d_defaults.h
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021