|
|
@ -227,6 +227,8 @@ namespace CSVRender
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assert(model != nullptr);
|
|
|
|
|
|
|
|
|
|
|
|
const CSMWorld::Pathgrid* source = getPathgridSource();
|
|
|
|
const CSMWorld::Pathgrid* source = getPathgridSource();
|
|
|
|
if (source)
|
|
|
|
if (source)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -360,6 +362,8 @@ namespace CSVRender
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assert(model != nullptr);
|
|
|
|
|
|
|
|
|
|
|
|
// Want to remove nodes from end of list first
|
|
|
|
// Want to remove nodes from end of list first
|
|
|
|
std::sort(mSelected.begin(), mSelected.end(), std::greater<int>());
|
|
|
|
std::sort(mSelected.begin(), mSelected.end(), std::greater<int>());
|
|
|
|
|
|
|
|
|
|
|
@ -461,6 +465,8 @@ namespace CSVRender
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assert(model != nullptr);
|
|
|
|
|
|
|
|
|
|
|
|
int parentColumn = mPathgridCollection.findColumnIndex(CSMWorld::Columns::ColumnId_PathgridEdges);
|
|
|
|
int parentColumn = mPathgridCollection.findColumnIndex(CSMWorld::Columns::ColumnId_PathgridEdges);
|
|
|
|
|
|
|
|
|
|
|
|
std::set<int, std::greater<int> >::iterator row;
|
|
|
|
std::set<int, std::greater<int> >::iterator row;
|
|
|
@ -636,6 +642,8 @@ namespace CSVRender
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::IdTree* model = dynamic_cast<CSMWorld::IdTree*>(mData.getTableModel(
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
CSMWorld::UniversalId::Type_Pathgrids));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assert(model != nullptr);
|
|
|
|
|
|
|
|
|
|
|
|
int recordIndex = mPathgridCollection.getIndex(mId);
|
|
|
|
int recordIndex = mPathgridCollection.getIndex(mId);
|
|
|
|
int parentColumn = mPathgridCollection.findColumnIndex(CSMWorld::Columns::ColumnId_PathgridEdges);
|
|
|
|
int parentColumn = mPathgridCollection.findColumnIndex(CSMWorld::Columns::ColumnId_PathgridEdges);
|
|
|
|
|
|
|
|
|
|
|
|