Fix: Duplicate node tool catalog in point cloud edit mode

This isn't available in releases yet, but point cloud edit mode is
partially working with node group operators anyway.
This commit is contained in:
Hans Goudey
2023-09-14 11:45:07 -04:00
parent cc83951951
commit 05045c3e50

View File

@@ -584,11 +584,15 @@ static Set<std::string> get_builtin_menus(const ObjectType object_type, const eO
Set<std::string> menus;
switch (object_type) {
case OB_CURVES:
case OB_POINTCLOUD:
menus.add_new("View");
menus.add_new("Select");
menus.add_new("Curves");
break;
case OB_POINTCLOUD:
menus.add_new("View");
menus.add_new("Select");
menus.add_new("Point Cloud");
break;
case OB_MESH:
switch (mode) {
case OB_MODE_EDIT: