summaryrefslogtreecommitdiffstats
path: root/editor/node_3d_editor_gizmos.h
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2021-06-16 21:52:30 -0300
committerreduz <reduzio@gmail.com>2021-06-16 22:01:39 -0300
commitab2456b7406d34bb446033de6ce76096f4502c9e (patch)
treebe50809d959c59d4378a79e7792308bc47c0cc8c /editor/node_3d_editor_gizmos.h
parentbb4c464fecae268a419a91db8eec8f525e904b45 (diff)
downloadredot-engine-ab2456b7406d34bb446033de6ce76096f4502c9e.tar.gz
Rename VisibilityNotifierXD to VisibleOnScreenNotifierXD
* Renames for 2D and 3D * Class name was confusing, given both 2D and 3D have a "visible" property that is unrelated to actual on-screen visibility. * New name makes it clear that this is about visibility on screen.
Diffstat (limited to 'editor/node_3d_editor_gizmos.h')
-rw-r--r--editor/node_3d_editor_gizmos.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/node_3d_editor_gizmos.h b/editor/node_3d_editor_gizmos.h
index 8a0e10241a..6f071859ec 100644
--- a/editor/node_3d_editor_gizmos.h
+++ b/editor/node_3d_editor_gizmos.h
@@ -218,8 +218,8 @@ public:
SoftBody3DGizmoPlugin();
};
-class VisibilityNotifier3DGizmoPlugin : public EditorNode3DGizmoPlugin {
- GDCLASS(VisibilityNotifier3DGizmoPlugin, EditorNode3DGizmoPlugin);
+class VisibleOnScreenNotifier3DGizmoPlugin : public EditorNode3DGizmoPlugin {
+ GDCLASS(VisibleOnScreenNotifier3DGizmoPlugin, EditorNode3DGizmoPlugin);
public:
bool has_gizmo(Node3D *p_spatial) override;
@@ -232,7 +232,7 @@ public:
void set_handle(EditorNode3DGizmo *p_gizmo, int p_idx, Camera3D *p_camera, const Point2 &p_point) override;
void commit_handle(EditorNode3DGizmo *p_gizmo, int p_idx, const Variant &p_restore, bool p_cancel = false) override;
- VisibilityNotifier3DGizmoPlugin();
+ VisibleOnScreenNotifier3DGizmoPlugin();
};
class CPUParticles3DGizmoPlugin : public EditorNode3DGizmoPlugin {