Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -4224,6 +4224,7 @@ void Application::loadScript() { · 4223 unmodified lines | ||
| 4224 | 4224 | // we can use the same ones from the application. |
| 4225 | 4225 | scriptEngine->getVoxelsScriptingInterface()->setPacketSender(&_voxelEditSender); |
| 4226 | 4226 | scriptEngine->getParticlesScriptingInterface()->setPacketSender(&_particleEditSender); |
| 4227 | + scriptEngine->getParticlesScriptingInterface()->setParticleTree(_particles.getTree()); | |
| 4227 | 4228 | |
| 4228 | 4229 | QThread* workerThread = new QThread(this); |
| 4229 | 4230 | |