diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-08-27 09:58:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 09:58:24 +0200 |
commit | 6875c9d684120025f765421de3d608fa9736b95f (patch) | |
tree | e9bb26867ea7e207d90b5de4ddf0a52272af6172 /scene/2d/camera_2d.h | |
parent | c59e9399e766e702b20248be7fc7f0c6ce727a32 (diff) | |
parent | 79e44f4033fb20f7f6143c01807dfaedfa5272ad (diff) |
Merge pull request #40302 from verdog/camera-bounds-fix
Fix Camera2D Incorrect Preview Bounds
Diffstat (limited to 'scene/2d/camera_2d.h')
-rw-r--r-- | scene/2d/camera_2d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/camera_2d.h b/scene/2d/camera_2d.h index 0a4e269c40..867a5562b2 100644 --- a/scene/2d/camera_2d.h +++ b/scene/2d/camera_2d.h @@ -94,6 +94,8 @@ protected: Camera2DProcessMode process_mode; + Size2 _get_camera_screen_size() const; + protected: virtual Transform2D get_camera_transform(); void _notification(int p_what); |