mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 11:45:59 +08:00
ENH: init a default arrow when filename of nozzle stl is empty
Change-Id: If4df9d2b43a1894099dda0b8d41a8a9e1649f08e Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
cb5f7843c0
commit
e1278b6b53
@ -319,7 +319,7 @@ void GCodeViewer::SequentialRangeCap::reset() {
|
|||||||
void GCodeViewer::SequentialView::Marker::init(std::string filename)
|
void GCodeViewer::SequentialView::Marker::init(std::string filename)
|
||||||
{
|
{
|
||||||
if (filename.empty()) {
|
if (filename.empty()) {
|
||||||
//m_model.init_from(stilized_arrow(16, 1.5f, 3.0f, 0.8f, 3.0f));
|
m_model.init_from(stilized_arrow(16, 1.5f, 3.0f, 0.8f, 3.0f));
|
||||||
} else {
|
} else {
|
||||||
m_model.init_from_file(filename);
|
m_model.init_from_file(filename);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user