mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
Widen value column to 96 chars, remove Mat4x4 truncation
kColValue 32 -> 96 to prevent float truncation with ellipsis. Mat4x4 rows bypass fit() entirely so long matrix rows display fully. Updated test expectations to use kColValue instead of hardcoded 32.
This commit is contained in:
@@ -337,9 +337,9 @@ QString fmtNodeLine(const Node& node, const Provider& prov,
|
||||
QString cmtSuffix = comment.isEmpty() ? QString()
|
||||
: fit(comment, COL_COMMENT);
|
||||
|
||||
// Mat4x4: subLine 0..3 = rows
|
||||
// Mat4x4: subLine 0..3 = rows — no truncation so large floats always display fully
|
||||
if (node.kind == NodeKind::Mat4x4) {
|
||||
QString val = fit(readValue(node, prov, addr, subLine), COL_VALUE);
|
||||
QString val = readValue(node, prov, addr, subLine);
|
||||
if (subLine == 0) return ind + type + SEP + name + SEP + val + cmtSuffix;
|
||||
return ind + QString(prefixW, ' ') + val + cmtSuffix;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user