mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-12 06:45:12 +00:00
Moved selection handling code to CNodeSelection, implemented instance spawning, half-implemented instance deleting (this build is buggy/crash prone)
This commit is contained in:
@@ -69,7 +69,7 @@ QVariant CPoiMapModel::data(const QModelIndex& rkIndex, int Role) const
|
||||
if (rkIndex.row() < rowCount(QModelIndex()))
|
||||
{
|
||||
const CPoiToWorld::SPoiMap *pkMap = mpPoiToWorld->MapByIndex(rkIndex.row());
|
||||
CScriptObject *pPOI = mpArea->GetInstanceByID(pkMap->PoiID);
|
||||
CScriptObject *pPOI = mpArea->InstanceByID(pkMap->PoiID);
|
||||
|
||||
if (Role == Qt::DisplayRole)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user