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