Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 337 / 5574

March 22, 2021, 15:05 (GMT)
Fix missing document icons on macOS 10.4 and earlier

Re-adds a legacy document icon for macOS 10.14 Mojave that is
consistent with the system generated document icon on macOS 11
Big Sur. It uses the old-style document sheet icon, but includes the
file extension underneath the Blender icon (unlike the previous
legacy document icon that was removed in D10267).

Adds the missing description for the exported type identifier.
Finder now correctly displays ?Blender File? instead of ?data?
for Blender files.

Differential Revision: https://developer.blender.org/D10746
March 22, 2021, 14:58 (GMT)
GPencil: Hide Interpolate Only Selected in Draw Mode

This option is only valid in Edit mode. Also changed the space between options to improve UI.

Reviewed by: @mendio
March 22, 2021, 14:47 (GMT)
GPencil: Move Automerge button position in topbar

This helps to keep animation buttons grouped.
March 22, 2021, 14:20 (GMT)
Fix T86591: Tracking backwards is slower

The root of the issue was caused by the PredictMarkerPosition()
always returning false when tracking backwards. This was making
it so tracker always had to run brute initialization, which is
an expensive operation.

From own timing here:

- Tracking forward takes 0.667637 seconds
- Tracking backward used to take 2.591856 seconds
- Tracking backward now takes 0.827724 seconds

This is a very nice speedup, although the tracking backwards is
still somewhat slower. Will be investigated further as part of
a regular development.
March 22, 2021, 14:10 (GMT)
Fix (unreported) memleak in collection/viewlayer code.

In collection/viewlayer synchronization code, in some cases, there are
extra unused view layer collections left in old list after all needed
ones have been moved to the new list.

Found while working on T86741.
March 22, 2021, 14:10 (GMT)
Fix T86741: Remapping could create doublons of collections in hierarchy.

Code rebuilding/ensuring the sanity of the collection hierarchy was not
checking for a same collection being child of the same parent multiple
times.

This was already prevented to happen in code adding collections to other
collections, but not for the remapping case.
March 22, 2021, 13:11 (GMT)
Fix: wrong use of assert in recent commit.
Revision 1a7f9b5 by Hans Goudey
March 22, 2021, 12:58 (GMT)
UI: Remove text for add and remove buttons in cryptomatte node

The text is unecessary and it's always cut off anyway.
March 22, 2021, 11:23 (GMT)
Cleanup: remove unexposed nodes

Those nodes are leftovers from my work on particle nodes and are not needed currently.
They can be added back easily if they become necessary.
March 22, 2021, 11:09 (GMT)
Geometry Nodes: make random float node more consistent with other nodes

Previously, different Random Float nodes would generate different values
depending on where they are in the node group hierarchy. This can be useful,
but should definitely not be the default behavior, because it is very inconsistent
with other nodes.
March 22, 2021, 11:01 (GMT)
Functions: make multi functions smaller and cheaper to construct in many cases

Previously, the signature of a `MultiFunction` was always embedded into the function.
There are two issues with that. First, `MFSignature` is relatively large, because it contains
multiple strings and vectors. Secondly, constructing it can add overhead that should not
be necessary, because often the same signature can be reused.

The solution is to only keep a pointer to a signature in `MultiFunction` that is set during
construction. Child classes are responsible for making sure that the signature lives
long enough. In most cases, the signature is either embedded into the child class or
it is allocated statically (and is only created once).
March 22, 2021, 10:59 (GMT)
Fix regression in bd7969159997b8802d54e79a002350a7fb97944d

The sequencer header needs to be drawn, even if the returned
variables aren't used.
March 22, 2021, 10:51 (GMT)
LibraryOverrides: Initial Test Case.

Added a first test case for review. This will be the base for future test cases.

The current API is sufficient for what is expected for such a low level API.
One concern is that you need to trigger a save in order to update the library overrides
structure. Not expected from TD/Dev point of view.

Test cases are very important when implementing restrictive mode as it is a second evaluation mode that
has impact on the (current) permissive mode.

Reviewed By: Sebasti�n Barschkis, Bastien Montagne

Differential Revision: https://developer.blender.org/D10747
March 22, 2021, 10:50 (GMT)
Fix T86405: Always translate when in `en_US` locale too.

The impact of translations on UI performances is neglectable, and this
gives better handling of some odd cases where original language of an
add-on is not English.
March 22, 2021, 10:35 (GMT)
Cleanup: add comment

See rBb9cd2f4531ca670c196b0b14b1359d0f375103c2 for more info.
March 22, 2021, 10:30 (GMT)
Cleanup, LineArt: Fix MSVC compiler warnings.

Currently 3 of the printf lines use the format specifier "%lu" for data
of type size_t instead of "%zu". While this works, this creates compiler
warnings.

This diff fixes those warnings by using the correct format specifier.
Tested using MSVC, but should be correct on any compliant compiler.

Reviewed By: Sebastian Parborg

Differential Revision: https://developer.blender.org/D10761
March 22, 2021, 10:26 (GMT)
Clang Tidy: disable modernize-raw-string-literal again

This check does not work when gtests are enabled yet.
See rBb9cd2f4531ca670c196b0b14b1359d0f375103c2 for more details.
March 22, 2021, 09:56 (GMT)
Fix UI (and code!) typos.
March 22, 2021, 09:12 (GMT)
Cleanup: check the space type instead of the operators poll function

The poll function may fail for reasons other than the space type,
as this menu is selected based on space-type, check this instead.
March 22, 2021, 07:09 (GMT)
RNA: rename recently added line-art properties

- Use `use_` prefix for boolean properties.
- Use `_all` instead of `_everything`,
following existing conventions and the properties UI text.
- Use `object_instances` instead of old term `dupli` / `duplication`.
- Use `clip_plane` instead of `clipping_boundaries`,
matching the RegionView3D property naming.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021