Blender Git Commits

Blender Git "master" branch commits.

Page: 336 / 5574

March 23, 2021, 05:08 (GMT)
Cleanup: import operator class directly for Python operators
March 23, 2021, 05:06 (GMT)
Fix sequencer text leaving bold & italic flags enabled

Regression in 913b71bb8be9b40da9c0f0cd21016c784a56dc18
March 23, 2021, 04:11 (GMT)
Fix crash transforming sequences

Regression in 3d9ee83d88186248fb66823662a04d1a0429e1ae
March 23, 2021, 03:23 (GMT)
Update RNA to Manual Map
March 23, 2021, 02:58 (GMT)
Cleanup: de-duplicate gpencil logic to ensure materials

- Rename:
`BKE_gpencil_object_material_get_index_name`, to
`BKE_gpencil_object_material_index_get_by_name`
Matching `BKE_gpencil_layer_get_by_name`.
- Move logic to ensure named materials into a new function:
`BKE_gpencil_object_material_ensure_by_name`
March 23, 2021, 02:29 (GMT)
Fix incorrect flag usage in line art modifier
March 23, 2021, 02:27 (GMT)
Cleanup: use `e` prefix for enum, comment on misleading flag values

Also replace "Feature" with "LineArt" in enum names.
March 23, 2021, 01:41 (GMT)
Cleanup: move line art panel into properties_objects

No need for a module to define a single panel, since this is an
object panel it can be included with other object panels.

If centralizing line-art properties is needed in the future,
this can be done in a `*_common` module.
March 23, 2021, 00:57 (GMT)
WM: don't set the area when toggling full-screen

The stated reason for this no longer applies.
March 23, 2021, 00:31 (GMT)
RNA: correction to a05cbc9914a76fa50c8367262dff507506e26c66

The clipping plane bias is an implementation detail,
don't use this in the RNA name.
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.
Revision 7d4dcfe by Sebastian Parborg
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: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
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
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:05 (GMT)
Fix build error on macOS/clang
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021