summaryrefslogtreecommitdiff
path: root/scene/2d/visibility_notifier_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-27 08:44:44 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-03-27 16:26:34 +0100
commitd1acbbce7f123c2b5fccdefc6417787dc91b6ced (patch)
tree3143b3548ee2e46c4a56881f1284f962cc2ae878 /scene/2d/visibility_notifier_2d.cpp
parentc3a760c5079670854b5f0c197c15218b1606bb2d (diff)
Rename more 2D and 3D nodes to follow convention
Rename editor plugins to match the new node names.
Diffstat (limited to 'scene/2d/visibility_notifier_2d.cpp')
-rw-r--r--scene/2d/visibility_notifier_2d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/2d/visibility_notifier_2d.cpp b/scene/2d/visibility_notifier_2d.cpp
index 6c1d7c3749..c374dd5faa 100644
--- a/scene/2d/visibility_notifier_2d.cpp
+++ b/scene/2d/visibility_notifier_2d.cpp
@@ -31,7 +31,7 @@
#include "visibility_notifier_2d.h"
#include "core/engine.h"
-#include "particles_2d.h"
+#include "gpu_particles_2d.h"
#include "scene/2d/animated_sprite_2d.h"
#include "scene/2d/physics_body_2d.h"
#include "scene/animation/animation_player.h"
@@ -212,7 +212,7 @@ void VisibilityEnabler2D::_find_nodes(Node *p_node) {
}
{
- Particles2D *ps = Object::cast_to<Particles2D>(p_node);
+ GPUParticles2D *ps = Object::cast_to<GPUParticles2D>(p_node);
if (ps) {
add = true;
}
@@ -304,7 +304,7 @@ void VisibilityEnabler2D::_change_node_state(Node *p_node, bool p_enabled) {
}
if (enabler[ENABLER_PAUSE_PARTICLES]) {
- Particles2D *ps = Object::cast_to<Particles2D>(p_node);
+ GPUParticles2D *ps = Object::cast_to<GPUParticles2D>(p_node);
if (ps) {