History

missed some shared pointer construction in Application

Heather Anderson committed 5 years ago

Commit bee33741 parent bcce9a21 file · +3 −3Browse files

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

Unified · Split

interface/src/Application.cpp+3−3
@@ -1033,9 +1033,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1032 unmodified lines
1033 _logger(new FileLogger(this)),1033 _logger(new FileLogger(this)),
1034#endif1034#endif
1035 _previousSessionCrashed(setupEssentials(argc, argv, runningMarkerExisted)),1035 _previousSessionCrashed(setupEssentials(argc, argv, runningMarkerExisted)),
1036 _entitySimulation(new PhysicalEntitySimulation()),1036 _entitySimulation(std::make_shared<PhysicalEntitySimulation>()),
1037 _physicsEngine(new PhysicsEngine(Vectors::ZERO)),1037 _physicsEngine(std::make_shared<PhysicsEngine>(Vectors::ZERO)),
1038 _entityClipboard(new EntityTree()),1038 _entityClipboard(std::make_shared<EntityTree>()),
1039 _previousScriptLocation("LastScriptLocation", DESKTOP_LOCATION),1039 _previousScriptLocation("LastScriptLocation", DESKTOP_LOCATION),
1040 _fieldOfView("fieldOfView", DEFAULT_FIELD_OF_VIEW_DEGREES),1040 _fieldOfView("fieldOfView", DEFAULT_FIELD_OF_VIEW_DEGREES),
1041 _hmdTabletScale("hmdTabletScale", DEFAULT_HMD_TABLET_SCALE_PERCENT),1041 _hmdTabletScale("hmdTabletScale", DEFAULT_HMD_TABLET_SCALE_PERCENT),