diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2017-12-06 22:27:39 +0100 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2017-12-06 22:44:12 +0100 |
commit | 4c222c28350c437e2b955b8ddef07f94ff557f07 (patch) | |
tree | ba5afbd19280a63fb4ebd637b6d686b6b1c7ccfa /scene/2d/particles_2d.cpp | |
parent | 0bc573635c167b9a3d653641c1389ba9a7870596 (diff) |
Particles2D: Fix normal map rid.
Looks like a Copy & Paste error, fixes #14334.
Diffstat (limited to 'scene/2d/particles_2d.cpp')
-rw-r--r-- | scene/2d/particles_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp index aee5d89150..7d53557216 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); |