Mesh: Set active attribute values edit mode operator #104426

Merged
Hans Goudey merged 8 commits from HooglyBoogly/blender:mesh-edit-attribute-set-operator into main 2023-02-15 04:35:03 +01:00

8 Commits

Author SHA1 Message Date
25e565f506 Add mesh_ prefix to operator callbacks 2023-02-14 22:28:17 -05:00
9004cfdd32 Merge branch 'main' into mesh-edit-attribute-set-operator 2023-02-14 18:00:16 -05:00
493687491d Fix file location (was moved to blenkernel mistakenly) 2023-02-13 21:57:31 -05:00
ba0011a95b Merge branch 'main' into mesh-edit-attribute-set-operator 2023-02-13 16:58:49 -05:00
39495f1125 Merge branch 'main' into mesh-edit-attribute-set-operator 2023-02-10 14:09:09 -05:00
e92b6771ba Merge branch 'main' into mesh-edit-attribute-set-operator 2023-02-09 12:51:07 -05:00
263eb412a6 Geometry Nodes: Edges to Face Groups Node
Add a new node that groups faces inside of boundary edge regions.
This is the opposite action as the existing "Face Group Boundaries" node[1].
It's also the same as some of the "Initialize Face Sets" options in sculpt mode [2].

Discussion in T102962 has favored "Group" for a name for these
sockets rather than "Set", so that is used here.

[1]: https://docs.blender.org/manual/en/3.4/modeling/geometry_nodes/mesh/face_set_boundaries.html
[2]: https://docs.blender.org/manual/en/3.5/sculpt_paint/sculpting/editing/face_sets.html#initialize-face-sets
2023-02-07 13:48:51 -05:00
a5db451d31 Mesh: Set active attribute values edit mode operator
This patch adds a simple operator to set values of the active attribute for
the selected element. The aim is to give simple control over attribute values
in edit mode rather than to provide the fastest workflow for most cases.
Eventually this operator might be less important compared to more advanced
attribute editing tools, but for now, exposing a little bit of functionality
is low hanging fruit and will help to see the possibilities.

The implementation mostly consists of boilerplate to register the necessary
property types for the operator and draw their UI. Beyond that, we just loop
over selected elements and set a value.
2023-02-07 13:42:30 -05:00