mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Show wireframe in MMU painter gizmo (#2808)
* Remove unused shader files * Port wireframe shader from BBS * Enable wireframe in MMU painter Co-Authored-By: zhou.xu <zhou.xu@bambulab.com> --------- Co-authored-by: zhou.xu <zhou.xu@bambulab.com>
This commit is contained in:
parent
70d86af253
commit
03a9014d3a
39 changed files with 121 additions and 1092 deletions
|
@ -138,7 +138,7 @@ bool GLGizmoMmuSegmentation::on_init()
|
|||
m_desc["height_range"] = _L("Height range");
|
||||
|
||||
//add toggle wire frame hint
|
||||
m_desc["toggle_wireframe_caption"] = _L("Ctrl + Shift + Enter");
|
||||
m_desc["toggle_wireframe_caption"] = _L("Alt + Shift + Enter");
|
||||
m_desc["toggle_wireframe"] = _L("Toggle Wireframe");
|
||||
|
||||
init_extruders_data();
|
||||
|
@ -358,17 +358,17 @@ void GLGizmoMmuSegmentation::show_tooltip_information(float caption_max, float x
|
|||
|
||||
std::vector<std::string> tip_items;
|
||||
switch (m_tool_type) {
|
||||
case ToolType::BRUSH:
|
||||
tip_items = {"paint", "erase", "cursor_size", "clipping_of_view"};
|
||||
case ToolType::BRUSH:
|
||||
tip_items = {"paint", "erase", "cursor_size", "clipping_of_view", "toggle_wireframe"};
|
||||
break;
|
||||
case ToolType::BUCKET_FILL:
|
||||
tip_items = {"paint", "erase", "smart_fill_angle", "clipping_of_view"};
|
||||
case ToolType::BUCKET_FILL:
|
||||
tip_items = {"paint", "erase", "smart_fill_angle", "clipping_of_view", "toggle_wireframe"};
|
||||
break;
|
||||
case ToolType::SMART_FILL:
|
||||
// TODO:
|
||||
break;
|
||||
case ToolType::GAP_FILL:
|
||||
tip_items = {"gap_area"};
|
||||
tip_items = {"gap_area", "toggle_wireframe"};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue