From 9d32c1c5450186aafa0bbadcdd38a1c11769ef7c Mon Sep 17 00:00:00 2001 From: Error404JoyNotFound Date: Fri, 9 Oct 2026 00:14:03 +0530 Subject: [PATCH] docs: correct layer_num index tooltip to 0-based (fixes #10340) (#15984) --- src/libslic3r/PrintConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index f76b8c35f9..c8e364cc69 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -12999,7 +12999,7 @@ CustomGcodeSpecificConfigDef::CustomGcodeSpecificConfigDef() // Common Defs def = this->add("layer_num", coInt); def->label = L("Layer number"); - def->tooltip = L("Index of the current layer. One-based (i.e. first layer is number 1)."); + def->tooltip = L("Index of the current layer. Zero-based (i.e. first layer is number 0), except in extrusion role change G-code, where it is one-based."); def = this->add("layer_z", coFloat); def->label = L("Layer Z");