mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-26 16:53:11 +08:00
Fix depth value for re_emboss
This commit is contained in:
parent
803c442927
commit
3411a32f88
@ -361,7 +361,7 @@ bool GLGizmoEmboss::re_emboss(const ModelVolume &text_volume, std::shared_ptr<st
|
|||||||
const ImWchar* ranges = ImGui::GetIO().Fonts->GetGlyphRangesDefault();
|
const ImWchar* ranges = ImGui::GetIO().Fonts->GetGlyphRangesDefault();
|
||||||
|
|
||||||
StyleManager style_manager(ranges, create_default_styles);
|
StyleManager style_manager(ranges, create_default_styles);
|
||||||
StyleManager::Style style{tc.style};
|
StyleManager::Style style{tc.style, es.projection};
|
||||||
if (!style_manager.load_style(style))
|
if (!style_manager.load_style(style))
|
||||||
return false; // can't load font
|
return false; // can't load font
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user