docs: correct layer_num index tooltip to 0-based (fixes #10340) (#15984)

This commit is contained in:
Error404JoyNotFound
2026-10-08 15:44:03 -03:00
committed by GitHub
parent 67a16dabca
commit 9d32c1c545
+1 -1
View File
@@ -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");