mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Merge pull request #4012 from sanikoyes/Pr-linke-fail-disable-3d
Fix link error when disable_3d=yes
This commit is contained in:
commit
6e86a05350
@ -894,6 +894,7 @@ void Viewport::_camera_remove(Camera* p_camera) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef _3D_DISABLED
|
||||
void Viewport::_camera_make_next_current(Camera* p_exclude) {
|
||||
|
||||
for(Set<Camera*>::Element *E=cameras.front();E;E=E->next()) {
|
||||
@ -909,7 +910,7 @@ void Viewport::_camera_make_next_current(Camera* p_exclude) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void Viewport::set_transparent_background(bool p_enable) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user