Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

Merge remote-tracking branch 'origin/main' into feat/parts-tools

islandmedef98506023de
diff --cc assets/fonts/NotoSansSC-UI.otf
index fddeba34,2277bbd6..7207e0d5
Binary files differ
diff --cc assets/fonts/NotoSansTC-UI.otf
index 1e5897bf,643a0576..2d0c1f2a
Binary files differ
diff --cc docs/guide/parts.md
index a1774712,c46e3873..dc9ae014
--- a/docs/guide/parts.md
+++ b/docs/guide/parts.md
@@@ -33,8 -33,8 +33,9 @@@ and they catch up a moment after you st
| Sculpt the Part under the cursor | Point at it and press <kbd>Alt</kbd>+<kbd>Q</kbd> (every input style, as in Blender): it becomes the active Part, the view stays put and each Part keeps its mask |
| Rename it | Double-click the row (or right-click > **Rename**), type, press <kbd>Enter</kbd> |
| Hide or show it | Click the eye at the end of the row |
+| Shade it smooth or flat | Click the mark left of the eye: it goes from **as the scene** (dim) to **Smooth** (a disc) to **Flat** (a faceted hexagon) and back. Only this Part changes; the scene's own setting is **Render > Materials > Shading** |
| Duplicate or delete it | Right-click the row > **Duplicate** (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>D</kbd>) or **Delete...** |
+ | Make a copy that shares the mesh | Right-click the row > **Linked Duplicate**, or the **Linked Duplicate** button; see [Linked Duplicates](linked-duplicates.md) |
| See its vertex and triangle counts | Point at the row for a moment |
The list shows six rows and scrolls when there are more. Names are kept unique: renaming a Part to a name that
diff --cc src/app/App.h
index 1b59cda3,c2d83209..11e3b2f3
--- a/src/app/App.h
+++ b/src/app/App.h
@@@ -32,8 -32,8 +32,9 @@@
#include "core/Document.h"
#include "core/DiscordPresence.h"
#include "core/Face.h"
+ #include "core/Backdrop.h"
#include "core/GeneratedRemesh.h"
+#include "core/MeshCheck.h"
#include "core/MeshTransform.h"
#include "app/Wintab.h"
#include "core/PenPredictor.h"
diff --cc src/app/PanelParts.cpp
index 0b15d8f6,9efafd75..e730ded6
--- a/src/app/PanelParts.cpp
+++ b/src/app/PanelParts.cpp
@@@ -268,8 -255,9 +275,9 @@@ void App::drawPartsContents()
const int active = doc_.activePart;
const ImGuiStyle& style = ImGui::GetStyle();
- // The list: eye, name, triangles. Row actions run after the loop (they change the list).
- int selectIndex = -1, toggleIndex = -1, deleteIndex = -1, duplicateIndex = -1, renameIndex = -1;
+ // The list: name, levels, triangles, shading, eye. Row actions run after the loop (they change the list).
+ int selectIndex = -1, toggleIndex = -1, shadeIndex = -1, deleteIndex = -1, duplicateIndex = -1, renameIndex = -1;
+ int linkIndex = -1, uniqueIndex = -1; // Linked Duplicate / Make Unique from the right-click menu
std::string renameTo;
// Folders (#96): pending actions on one, by name; a Part put into a folder ("" = out of its folder).
PartFolderActions fa;
diff --cc src/core/Parts.h
index 76a262f3,5168f32c..bdd3dc9d
--- a/src/core/Parts.h
+++ b/src/core/Parts.h
@@@ -68,10 -76,9 +76,10 @@@ inline constexpr const char* kBuiltinIn
// file is missing or differs (else the system temp folder); any other path is itself.
bool resolveInsertSetPath(const std::string& path, std::string& file, std::string& error);
- // part_list, part_select, part_append, part_duplicate, part_delete,
+ // part_list, part_select, part_append, part_duplicate, part_duplicate_linked, part_make_unique, part_delete,
// part_rename, part_visibility, part_solo, part_show_all, part_move,
-// part_merge_down, part_merge_visible, part_split_groups, part_split_parts.
+// part_merge_down, part_merge_visible, part_split_groups, part_split_parts, part_split_hidden,
+// part_split_masked, part_split_unmasked.
void registerPartCommands(CommandRegistry& registry);
} // namespace sf