From 4c222c28350c437e2b955b8ddef07f94ff557f07 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Wed, 6 Dec 2017 22:27:39 +0100 Subject: [PATCH] Particles2D: Fix normal map rid. Looks like a Copy & Paste error, fixes #14334. --- scene/2d/particles_2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp index aee5d89150d..7d53557216c 100644 --- a/scene/2d/particles_2d.cpp +++ b/scene/2d/particles_2d.cpp @@ -291,7 +291,7 @@ void Particles2D::_notification(int p_what) { texture_rid = texture->get_rid(); RID normal_rid; if (normal_map.is_valid()) - normal_rid = texture->get_rid(); + normal_rid = normal_map->get_rid(); VS::get_singleton()->canvas_item_add_particles(get_canvas_item(), particles, texture_rid, normal_rid, h_frames, v_frames);