diff options
author | Dalai Felinto <dalai@blender.org> | 2021-03-26 16:43:25 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2021-03-26 16:44:15 +0300 |
commit | 4bb70e0ba566a44568d8105bb6ba0d91badb2168 (patch) | |
tree | 225f0569f3bb58ce8b5758df38963d5327ad06a6 /release/scripts/startup/nodeitems_builtins.py | |
parent | 1614795ae2bfc6369f28ff82811b432fceb57eb0 (diff) |
Geometry-Nodes: Sort the Nodes Categories alphabetically
The exception is still Group and Layout to be consistent with the
other node editors. This could use a separator though.
Diffstat (limited to 'release/scripts/startup/nodeitems_builtins.py')
-rw-r--r-- | release/scripts/startup/nodeitems_builtins.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/release/scripts/startup/nodeitems_builtins.py b/release/scripts/startup/nodeitems_builtins.py index 372bd194eb4..38d63ff8eca 100644 --- a/release/scripts/startup/nodeitems_builtins.py +++ b/release/scripts/startup/nodeitems_builtins.py @@ -524,19 +524,6 @@ geometry_node_categories = [ NodeItem("GeometryNodeSubdivide"), ]), - GeometryNodeCategory("GEO_POINT", "Point", items=[ - NodeItem("GeometryNodePointDistribute"), - NodeItem("GeometryNodePointInstance"), - NodeItem("GeometryNodePointSeparate"), - NodeItem("GeometryNodePointScale"), - NodeItem("GeometryNodePointTranslate"), - NodeItem("GeometryNodeRotatePoints"), - NodeItem("GeometryNodeAlignRotationToVector"), - ]), - GeometryNodeCategory("GEO_VOLUME", "Volume", items=[ - NodeItem("GeometryNodePointsToVolume"), - NodeItem("GeometryNodeVolumeToMesh"), - ]), GeometryNodeCategory("GEO_PRIMITIVES", "Mesh Primitives", items=[ NodeItem("GeometryNodeMeshCube"), NodeItem("GeometryNodeMeshCircle"), @@ -547,6 +534,15 @@ geometry_node_categories = [ NodeItem("GeometryNodeMeshLine"), NodeItem("GeometryNodeMeshPlane"), ]), + GeometryNodeCategory("GEO_POINT", "Point", items=[ + NodeItem("GeometryNodePointDistribute"), + NodeItem("GeometryNodePointInstance"), + NodeItem("GeometryNodePointSeparate"), + NodeItem("GeometryNodePointScale"), + NodeItem("GeometryNodePointTranslate"), + NodeItem("GeometryNodeRotatePoints"), + NodeItem("GeometryNodeAlignRotationToVector"), + ]), GeometryNodeCategory("GEO_UTILITIES", "Utilities", items=[ NodeItem("ShaderNodeMapRange"), NodeItem("ShaderNodeClamp"), @@ -560,6 +556,10 @@ geometry_node_categories = [ NodeItem("ShaderNodeVectorMath"), NodeItem("ShaderNodeVectorRotate"), ]), + GeometryNodeCategory("GEO_VOLUME", "Volume", items=[ + NodeItem("GeometryNodePointsToVolume"), + NodeItem("GeometryNodeVolumeToMesh"), + ]), GeometryNodeCategory("GEO_GROUP", "Group", items=node_group_items), GeometryNodeCategory("GEO_LAYOUT", "Layout", items=[ NodeItem("NodeFrame"), |