Blender Git Commits

Blender Git "master" branch commits.

Page: 310 / 5574

April 15, 2021, 13:42 (GMT)
Blender 3.0 version bump

Blender 3.0 is now in bcon1 (alpha).

There are likely a few places in Blender and the automated building pipeline
that may fail since we are switching our versioning number system.

For example, at the moment the splash and the status bar are showing
3.00.0, and it should show 3.1.0.

I suspect the Python API, version used to report a bug, buildname, are
all wrong too. These will be handled later.
April 15, 2021, 13:32 (GMT)
Bump subversion before starting the next release cycle
April 15, 2021, 13:32 (GMT)
Bump subversion before starting the next release cycle
Revision ecc2db8 by Hans Goudey
April 15, 2021, 12:53 (GMT)
UI: Rename itmes in point cloud add attribute menu

Since these were added, we decided that builtin and reserved name
attributes start with a lowercase letter. We also use "id" already in
a few nodes, so this change will be consistent with that.
April 15, 2021, 12:22 (GMT)
GPencil: Change UI text and tooltip

The text was not changed in the refactor and had the old text.
April 15, 2021, 11:19 (GMT)
Fix T87434: spreadsheet shows same column more than once
April 15, 2021, 09:38 (GMT)
Fix T87171: Update multi input socket indices

When inserting a node on top of a link, the multi input socket
indices weren't updated. This fixes that and keeps the relative
order of the links the same.

Author: Wannes Malfait

Reviewed By: Fabian Schempp

Differential Revision: https://developer.blender.org/D10969
April 15, 2021, 09:21 (GMT)
Geometry Nodes: refactor implicit conversions

This refactor simplifies having standalone function pointer that
does a single conversion. It also speeds up implicit type conversion
of attributes.
April 15, 2021, 08:00 (GMT)
Fix T87356 & T87358: Small multi-input socket issues

T87356 occured because last_node_hovered_while_dragging_a_link was not
set on node_link_init.
The assert in T87358 failed because the sorting operation was called even
if the drag link contained a link to another socket.
A little one frame jump was caused because frame was refreshed after
picking a link and before sorting happened.

Reviewer: Hans Goudey

Differential Revision: https://developer.blender.org/D10940
April 15, 2021, 07:37 (GMT)
Cleanup: rename file

Internally we use the name "context (path)" instead of "breadcrumb".
This was missing from a rename in the original patch.
April 15, 2021, 07:35 (GMT)
Cleanup: move type conversions to separate file
April 15, 2021, 07:00 (GMT)
Spreadsheet: breadcrumbs and node pinning

This introduces a context path to the spreadsheet editor, which contains
information about what data is shown in the spreadsheet. The context
path (breadcrumbs) can reference a specific node in a node group
hierarchy. During object evaluation, the geometry nodes modifier checks
what data is currently requested by visible spreadsheets and stores
the corresponding geometry sets separately for later access.

The context path can be updated by the user explicitely, by clicking
on the new icon in the header of nodes. Under some circumstances,
the context path is updated automatically based on Blender's context.

This patch also consolidates the "Node" and "Final" object evaluation
mode to just "Evaluated". Based on the current context path, either
the final geometry set of an object will be displayed, or the data at
a specific node.

The new preview icon in geometry nodes now behaves more like
a toggle. It can be clicked again to clear the context path in an
open spreadsheet editor.

Previously, only an object could be pinned in the spreadsheet editor.
Now it is possible to pin the entire context path. That allows two
different spreadsheets to display geometry data from two different
nodes.

The breadcrumbs in the spreadsheet header can be collapsed by
clicking on the arrow icons. It's not ideal but works well for now.
This might be changed again, if we get a data set region on the left.

Differential Revision: https://developer.blender.org/D10931
April 15, 2021, 05:07 (GMT)
Fix missing NULL checks in adb21faa83d69069418d7bb14e0211261072f3a9
April 15, 2021, 04:20 (GMT)
Fix T70286: Dissolve vertices/edges creates duplicate face
April 14, 2021, 19:33 (GMT)
CMake/deps: Remove CPP11 option for OpenImageIO

This flag is obsolete. In its current state (missing -D) it also
results in a CMake unknown argument error on macOS.
Revision 788a282 by Hans Goudey
April 14, 2021, 19:23 (GMT)
Geometry Nodes: Realize instances when applying modifiers

The fact that geometry from instnances isn't realized when applying
a nodes modifier can be very confusing, especially for new users.
Nodes themselves realize geometry instances implicitly whenever they
need to. We also currently make instances real and convert points to
mesh when a modifier is added after the nodes modifier. With this
commit, we simply do the same thing when applying the modifier.

There are a few downsides though:
- This can be an extremely heavy operations in some cases where
geometry nodes is used to instance heavy geometry.
- We will still have the issues with materials, since instances use
materials from their original objects, but real geometry uses
materials from the modifier object.

It was decided to live with the potential performance downsides
for now, the idea is the upsides of the change are more important,
and people making complicated setups will be more likely to know not
to apply the modifier. In the future there could be a warning if it's
necessary though.

Ref T87083
Revision ac90c8a by Hans Goudey
April 14, 2021, 18:53 (GMT)
UI: Add a workspace for geometry nodes in the default startup file

This will hopefully make it faster to start using the node editor.
The workspace also includes the spreadsheet. Note that while
existing startup files won't have this workspace added, it will be
in the list of options when clicking on the "add workspace" button.

Ref T86499
Revision 4dd32f9 by Antonio Vazquez
April 14, 2021, 17:00 (GMT)
GPencil: Invert color offsetting for Single and Object mode

Now, instead to offset the stroke color to make it visible over fill, the stroke keeps the original color and the fill is offset.

Related to the issue in T87406.
April 14, 2021, 16:52 (GMT)
Fix T87406: Stroke color when using object color mode

The color of the strokes was shifted when using `Single Color` or
`Object Color`in Solid Display Mode. This was originally done so
that it was still possible to differentiate strokes and fills.

The fix allows for a completly flat shading by checking if the
Lighting Mode is set to `Flat`. If it is, then the colors are not
shifted for the strokes and everything will use the same color.

Reviewed By: antoniov, fclem

Maniphest Tasks: T87406

Differential Revision: https://developer.blender.org/D10957
Revision 71eaf87 by Hans Goudey
April 14, 2021, 16:11 (GMT)
Geometry Nodes: Add domain and data type to attribute search

This patch adds domain and data type information to each row of the
attribute search menu. The data type is displayed on the right, just
like how the list is exposed for the existing point cloud and hair
attribute panels. The domain is exposed on the left like the menu
hierarchy from menu search.

For the implementation, the attribute hint information is stored as a
set instead of a multi-value map so that every item (which we need to
point to descretely in the search process) contains the necessary data
type and domain information by itself. We also need to allocate a new
struct for every button, which requires a change to allow passing a
newly allocated argument to search buttons.

Note that the search does't yet handle the case where there are two
attributes with the same name but different domains or data types in
the input geometry set. That will be handled as a separate improvement.

Differential Revision: https://developer.blender.org/D10623
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021