Blender Git Loki

Kaikki Blender Git kommitit.

Page: 800 / 8462

March 22, 2021, 19:16 (GMT)
First round of code cleanup

Revision 33e1ca8 by Antonio Vazquez (temp-gpencil-io)
March 22, 2021, 17:13 (GMT)
GPencil: Remove option to reuse import object

March 22, 2021, 17:02 (GMT)
Cleanup: lattices, use `bool is_editmode` instead of `int editmode`

Replace `int editmode` with `const bool is_editmode`.

No functional changes.
March 22, 2021, 16:41 (GMT)
Merge branch 'master' into temp-lineart-contained
Revision 7d4dcfe by Sebastian Parborg (master)
March 22, 2021, 16:37 (GMT)
Fix T86822: context.collection not available in Object/Object Data Properties

We need to return the global context collection if it is not found in
the data path.

Also fix pinning of the collection tab.
March 22, 2021, 16:22 (GMT)
Fix T83638: mirror modifier with mirror object renders wrong motion blur

In this case both the mirror object and object itself moving in time may
change the geometry and must be checked.

Differential Revision: https://developer.blender.org/D10757
March 22, 2021, 16:17 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type
March 22, 2021, 16:06 (GMT)
Functions: devirtualize virtual arrays in simple functions

In some multi-functions (such as a simple add function), the virtual method
call overhead to access array elements adds significant overhead. For these
simple functions it makes sense to generate optimized versions for different
types of virtual arrays. This is done by giving the compiler all the information
it needs to devirtualize virtual arrays.

In my benchmark this speeds up processing a lot of data with small function 2-3x.

This devirtualization should not be done for larger functions, because it increases
compile time and binary size, while providing a negilible performance benefit.
March 22, 2021, 15:59 (GMT)
Cleanup: Collection check return type in button_context
Revision 23d2174 by Hans Goudey (master)
March 22, 2021, 15:58 (GMT)
Geometry Nodes: Remove location and rotation from mesh primitives

Following some discussion among the geometry nodes team, it was decided
that keeping the primitive nodes simpler and requiring a separate
transform node to move the generated geometry from the origin would
be better.
- It's more consistent with the current general idea of "building
block nodes"
- It makes more sense for the future when it will be possible to
use instancing to control the transforms.
- It reduces UI clutter when the controls are not necessary.
Revision 2d1120c by Hans Goudey (master)
March 22, 2021, 15:52 (GMT)
BLI: Add "identity" constructor to float4x4 type
March 22, 2021, 15:46 (GMT)
Fix T86666: Lasso and Circle select tools selecting objects behind clip_min

Although it works well in most cases, the algorithm to detect if a point
is within the limits of the camera does not work well in othographic mode.

This commit also adds the option `V3D_PROJ_TEST_CLIP_FAR` (currently unused).

Differential Revision: https://developer.blender.org/D10771
March 22, 2021, 15:27 (GMT)
Tracking: Fix movie file prefetch freezing interface

The issue was caused by the prefetch code having LOCK_MOVIECLIP lock
acquired while reading frames from the movie files. The need of the
lock was coming from the fact that `clip->anim` can not be accessed
from multiple threads, so that was guarded by a lock. The side effect
of this lock was that the main thread (from which drawing is happening)
did not have any chance passing through it in the cache code because
the prefetch happens so quickly.

The solution is to create a local copy of the clip with its own
anim handler, so that read can happen without such lock.

The prefetch is slower by an absolute number in seconds (within 10%
in tests here), but it is interactive now.
March 22, 2021, 15:14 (GMT)
Add a proper attribute standard and TypeDesc for deltas.
March 22, 2021, 15:07 (GMT)
GPencil: No export in SVG and PDF 1 point strokes

Thess strokes produce weird results and usually are errors in the original file. Now the minimum size to export must be 2 points to create a polyline.
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, 15:05 (GMT)
Fix build error on macOS/clang
March 22, 2021, 14:59 (GMT)
Merge branch 'master' into temp-gpencil-io
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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021