History

EnitityItem smart pointers

ZappoMan committed 11 years ago

Commit 8b78fc41 parent 603528e69 files · +354 −302Browse files

Showing the changes to interface/src/Application.cpp (1 of 69 files). Show all

Unified · Split

interface/src/Application.cpp+2−2
@@ -1970,7 +1970,7 @@ void Application::toggleFaceTrackerMute() { · 1969 unmodified lines
19701970 }
19711971
19721972 bool Application::exportEntities(const QString& filename, const QVector<EntityItemID>& entityIDs) {
1973− QVector<EntityItem*> entities;
1973+ QVector<EntityItemPointer> entities;
19741974
19751975 auto entityTree = _entities.getTree();
19761976 EntityTree exportTree;
@@ -2011,7 +2011,7 @@ bool Application::exportEntities(const QString& filename, const QVector<EntityIt · 34 unmodified lines
20112011 }
20122012
20132013 bool Application::exportEntities(const QString& filename, float x, float y, float z, float scale) {
2014− QVector<EntityItem*> entities;
2014+ QVector<EntityItemPointer> entities;
20152015 _entities.getTree()->findEntities(AACube(glm::vec3(x, y, z), scale), entities);
20162016
20172017 if (entities.size() > 0) {