summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_raster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/rendering/rendering_server_raster.cpp')
-rw-r--r--servers/rendering/rendering_server_raster.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/servers/rendering/rendering_server_raster.cpp b/servers/rendering/rendering_server_raster.cpp
index b12e2ff3c1..94cfb6b752 100644
--- a/servers/rendering/rendering_server_raster.cpp
+++ b/servers/rendering/rendering_server_raster.cpp
@@ -30,10 +30,10 @@
#include "rendering_server_raster.h"
+#include "core/config/project_settings.h"
#include "core/io/marshalls.h"
#include "core/os/os.h"
-#include "core/project_settings.h"
-#include "core/sort_array.h"
+#include "core/templates/sort_array.h"
#include "rendering_server_canvas.h"
#include "rendering_server_globals.h"
#include "rendering_server_scene.h"
@@ -108,6 +108,9 @@ void RenderingServerRaster::draw(bool p_swap_buffers, double frame_step) {
RSG::scene->update_dirty_instances(); //update scene stuff
+ RSG::scene->render_particle_colliders();
+ RSG::storage->update_particles(); //need to be done after instances are updated (colliders and particle transforms), and colliders are rendered
+
RSG::scene->render_probes();
RSG::viewport->draw_viewports();
RSG::canvas_render->update();