Skip to content
Snippets Groups Projects
Commit 8c70c381 authored by Ger van Diepen's avatar Ger van Diepen
Browse files

bug 1246:

Use row number in original table instead of selection table
parent 80ebf770
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,7 @@ namespace BBS {
if (! expr.isNull()) {
table = table(expr);
}
Vector<uInt> origRownrs = table.rowNumbers();
// Create the table accessor objects.
ROScalarColumn<String> nameCol(nmtab, "NAME");
ROScalarColumn<int> typeCol(nmtab, "FUNKLETTYPE");
......@@ -322,7 +323,7 @@ namespace BBS {
getInterval(ivyCol, row, sy, ey, ny)),
values);
}
pval->setRowId (row);
pval->setRowId (origRownrs[row]);
values.push_back (pval);
domains.push_back (Box(Point(sx,sy), Point(ex,ey)));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment