Blender Git Commits

Blender Git "temp-geometry-nodes-distribute-points-cleanup" branch commits.

Page: 7 / 15

November 20, 2020, 19:22 (GMT)
Geometry Nodes: Expose the active modifier to the UI

This exposes the operator to set the active modifier as the type icon
in the header of the modifier panels. Tweaks to the widget drawing
code were necessary to use the red alert for non-emboss operator
buttons. Then, the panel for the active modifier gets a border around it
(which currently uses the property search theme color), requiring
an "active property" field in the PanelType struct.
November 20, 2020, 18:02 (GMT)
Geometry Nodes: improve boolean node when not both inputs are connected

Previously, it was always outputting an empty geometry in that case.
This was confusing because e.g. the output of a union operation
with a single non-empty mesh is also non-empty.
November 20, 2020, 17:47 (GMT)
Geometry Nodes: use attribute name inputs in point instance node

This will probably not stay exactly like this, because it looks a bit ugly.
Adding this now, because it increases flexibility a lot and allows me
to test the attribute api a bit more.
November 20, 2020, 17:23 (GMT)
Geometry Nodes: combine Vertex and Point domains

Originally, there were technical reasons for why two different domains
were used. Those reasons have been lost unfortunately, and there
don't seem to be any issues with combining the domains now.

This reduces confusion when users have to select the domain type
in enums.
November 20, 2020, 17:10 (GMT)
Geometry Nodes: initial support for implicitly type casting attributes

Those allows e.g. float attributes to be accessed as if they were vector attributes.
November 20, 2020, 16:45 (GMT)
Geometry Nodes: simplify point instancer node
November 20, 2020, 16:35 (GMT)
Geometry Nodes: iterate on attributes api and improve random attribute node

Attributes can now be accessed through a GeometryComponent.
MeshComponent and PointCloudComponent implement the specific
attribute access mechanisms using virtual methods.

This simplifies code that should work on different geometry components
quite a bit, because it only has to be written once without using templates.
The Random Attribute node benefits from that a lot.
November 20, 2020, 16:31 (GMT)
Geometry Nodes: allow getting inputs without removing them

This is useful when one wants to get an input value multiple times.
November 20, 2020, 16:29 (GMT)
Functions: support lookup without extract in generic value map
November 20, 2020, 16:29 (GMT)
BLI: add missing const
November 20, 2020, 14:45 (GMT)
Geometry Nodes: Add "Edge Angle" option to edge split node

Although disabling this option is equivalent to setting the edge angle
to 180 degrees, there is no great reason to change the settings from what
is exposed in the modifier.

Differential Revision: https://developer.blender.org/D9564
November 20, 2020, 14:32 (GMT)
Geometry Nodes: Add ability to clear object's active modifier

`object.modifiers.active = None` will just clear the active flag
from every modifier.
November 20, 2020, 14:25 (GMT)
Geometry Nodes: Add object.modifiers.active to RNA

This is a RNA only pointer property used to set and get the active
modifier without using an operator.
November 20, 2020, 11:06 (GMT)
Fix T82762: linked but unavailable output handled incorrectly
November 20, 2020, 10:50 (GMT)
Fix T82773: node with unavailable output is handled incorrectly
November 19, 2020, 23:05 (GMT)
Geometry Nodes: Rename category Scattering to Point and sort

The Geometry category should come before Input.
November 19, 2020, 22:13 (GMT)
Geometry Nodes: Hide unsupported attribute types and domains

The random attribute node currently doesn't support every attribute
domain or data type. With a bit of boilerplate code we can remove these
unsupported enum items from the UI for now, and also get a system to
remove unsupported items from the UI in the future. If all attribute
creation nodes end up always supporting all attibute types and domains,
this can be removed.
November 19, 2020, 19:47 (GMT)
Geometry Nodes: Add an operator to set the active modifer

Also make new modifiers active, and properly set the active
state when duplicating a modifier.
November 19, 2020, 19:44 (GMT)
Geometry Nodes: Disallow editing and animating modifier active property

There will be an operator to access this property instead, which provides
a better name and tooltip to expose in the UI, and makes it more clear
that the property is dependent on the other modifiers.
November 19, 2020, 19:35 (GMT)
Geometry Nodes: Add the concept of an active modifier

This commit adds functions to set and get the object's active
modifier, which is stored as a flag in the ModifierData struct,
similar to constraints. This will be used to set the context in
the node editor. There are no visible changes in this commit.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021