summaryrefslogtreecommitdiff
path: root/servers/rendering
diff options
context:
space:
mode:
authorCaptainProton42 <john.wigg@gmx.net>2021-09-25 23:37:16 +0200
committerCaptainProton42 <john.wigg@gmx.net>2021-09-26 00:30:37 +0200
commit1731030b3cc77cb5c8ea2df9c195ba63dcc45432 (patch)
treec9768d9dcb4c8cac408ab5f3200d4497307043c6 /servers/rendering
parentdd70daafba90c8e3e08f391e9114f084fe6eaa71 (diff)
Fix GPUParticles3D local_coords
Diffstat (limited to 'servers/rendering')
-rw-r--r--servers/rendering/renderer_rd/renderer_storage_rd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/renderer_storage_rd.cpp b/servers/rendering/renderer_rd/renderer_storage_rd.cpp
index 1f258cd1fe..ed87932762 100644
--- a/servers/rendering/renderer_rd/renderer_storage_rd.cpp
+++ b/servers/rendering/renderer_rd/renderer_storage_rd.cpp
@@ -4138,6 +4138,7 @@ void RendererStorageRD::particles_set_use_local_coordinates(RID p_particles, boo
ERR_FAIL_COND(!particles);
particles->use_local_coords = p_enable;
+ particles->dependency.changed_notify(DEPENDENCY_CHANGED_PARTICLES);
}
void RendererStorageRD::particles_set_fixed_fps(RID p_particles, int p_fps) {