summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-02 14:41:58 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-04-02 14:56:01 +0200
commitea7b497065a615b6fd4e165b331f50613a63a329 (patch)
treebe20ea6b308f2a989a76042ae4b7448711891f84 /scene/3d
parent058a0afdeca83145d58a95c426dd01216c397ea9 (diff)
Replace more occurrences of NULL with nullptr
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/camera_3d.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/scene/3d/camera_3d.cpp b/scene/3d/camera_3d.cpp
index 30ab4d463b..706c49b43b 100644
--- a/scene/3d/camera_3d.cpp
+++ b/scene/3d/camera_3d.cpp
@@ -413,23 +413,6 @@ Vector3 Camera3D::project_position(const Point2 &p_point, float p_z_depth) const
return get_camera_transform().xform(p);
}
-/*
-void Camera::_camera_make_current(Node *p_camera) {
-
-
- if (p_camera==this) {
- RenderingServer::get_singleton()->viewport_attach_camera(viewport_id,camera);
- active=true;
- } else {
- if (active && p_camera==NULL) {
- //detech camera because no one else will claim it
- RenderingServer::get_singleton()->viewport_attach_camera(viewport_id,RID());
- }
- active=false;
- }
-}
-*/
-
void Camera3D::set_environment(const Ref<Environment> &p_environment) {
environment = p_environment;