Blender Git Commits

Blender Git "master" branch commits.

Page: 156 / 5574

September 7, 2021, 19:10 (GMT)
Animation: Implement generic slider in graph_slider_ops

This patch implements the generic slider from
`ed_draw.c` to the `GRAPH_OT_decimate` operator
This draws a useful UI and enables precision mode and stepping
Overshoot is disabled
The status message is moved to the workspace footer

Reviewed by: Sybren A. St�vel
Differential Revision: https://developer.blender.org/D9361
Ref: D9361
Revision a392609 by Hans Goudey
September 7, 2021, 18:28 (GMT)
Cleanup: Move function to versioning_common.cc
September 7, 2021, 14:07 (GMT)
Fix T91093: off by one error in when resampling curve

The bug existed in the Curve Resample and Curve to Points node.

Differential Revision: https://developer.blender.org/D12416
September 7, 2021, 14:04 (GMT)
Fix T91219: Crash canceling scale keyframes in dope sheet grease pencil

Caused by {rBb0d9e6797fb8}

Ideally `td->loc` should always be set and point to a 3d array.
September 7, 2021, 11:22 (GMT)
Fix T91236: AssetBrowser crash with certain collections

Caused by {rB5a9a16334c57}

Linking/appending an asset made from a collection containing certain
types of objects lacking bounding boxes (camera, light) would crash.

Add simple bbox check to prevent the crash.

Maniphest Tasks: T91236

Differential Revision: https://developer.blender.org/D12415
September 7, 2021, 11:18 (GMT)
Fix T91238: crash when instancing geometry group input
September 7, 2021, 08:18 (GMT)
ID management: add options to force make local or force copy IDs when making them local.

This is to be used when calling code already knows whether the 'made
local' linked ID should be copied, or can directly be converted to a
local one.

Currently unused , this is preparation for rewrite of append code.
September 6, 2021, 16:56 (GMT)
GPencil: Change icons missing in previous commit

It was missing to change the modifier itself, not only RNA enum list.
September 6, 2021, 16:47 (GMT)
Fix T91187: incorrect socket identifier
September 6, 2021, 16:40 (GMT)
UI: Area Split and Join Mouse Cursor Feedback

This patch just changes the mouse cursor to a "stop sign" when dragging
to an unsupported location during Join or Split operations.

See D11396 for details and examples.

Differential Revision: https://developer.blender.org/D11396

Reviewed by Campbell Barton
September 6, 2021, 16:31 (GMT)
Geometry Nodes: support for geometry instancing

Previously, the Point Instance node in geometry nodes could only instance
existing objects or collections. The reason was that large parts of Blender
worked under the assumption that objects are the main unit of instancing.
Now we also want to instance geometry within an object, so a slightly larger
refactor was necessary.

This should not affect files that do not use the new kind of instances.

The main change is a redefinition of what "instanced data" is. Now, an
instances is a cow-object + object-data (the geometry). This can be nicely
seen in `struct DupliObject`. This allows the same object to generate
multiple geometries of different types which can be instanced individually.

A nice side effect of this refactor is that having multiple geometry components
is not a special case in the depsgraph object iterator anymore, because those
components are integrated with the `DupliObject` system.

Unfortunately, different systems that work with instances in Blender (e.g.
render engines and exporters) often work under the assumption that objects are
the main unit of instancing. So those have to be updated as well to be able to
handle the new instances. This patch updates Cycles, EEVEE and other viewport
engines. Exporters have not been updated yet. Some minimal (not master-ready)
changes to update the obj and alembic exporters can be found in P2336 and P2335.
Different file formats may want to handle these new instances in different ways.

For users, the only thing that changed is that the Point Instance node now
has a geometry mode.

This also fixes T88454.

Differential Revision: https://developer.blender.org/D11841
September 6, 2021, 16:00 (GMT)
GPencil: Replace temp icons for final design

New icons for LIneArt and Length modifier
September 6, 2021, 15:58 (GMT)
make.bat: Fix missing quotes in python detection

September 6, 2021, 15:35 (GMT)
Fix T90414: New GPencil icons

Designed by @mendio

The new icons are:

* Dot-Dash modifier
* Length Modifier
* Line Art modifier
September 6, 2021, 15:30 (GMT)
Fluid: Clang-format cleanups

Just cleanup.
September 6, 2021, 15:30 (GMT)
Fluid: Parallelizations for Mantaflow functions (D12002)

This update includes part of a performance boost from D12002.
Contributed by @erik85
September 6, 2021, 15:21 (GMT)
Nodes: fix incorrect id socket update

The issue was that the entire socket was rebuild, even though
only its `SOCK_HIDE_LABEL` flag changed. This broke e.g.
Object sockets from old files.
September 6, 2021, 13:47 (GMT)
Fix crash drawing hair with older GPUs.

Some GPU's have support for compute shaders, but don't support
GLSL 4.3. This resulted in compiler errors and crashes.

This issue could have been solved by supporting older GLSL languages but
that would have been a hassle to get it right. We already have a
fallback in place for GPU's that don't support compute shaders at all.
September 6, 2021, 11:14 (GMT)
Division by zero when there are no lights and only emissive surfaces

When rendering the test scene in T79190 which has only emissive surfaces a division by zero occurs. This is a simple patch to remove this.

Reviewed By: brecht

Maniphest Tasks: T79190

Differential Revision: https://developer.blender.org/D11682
September 6, 2021, 10:54 (GMT)
BLI: add default hash for shared_ptr and reference_wrapper

This makes it easier to use these types as keys in Map, Set and VectorSet.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021