Fix link error when disable_3d=yes
This commit is contained in:
parent
20308c0475
commit
a638af886e
1 changed files with 2 additions and 1 deletions
|
@ -894,6 +894,7 @@ void Viewport::_camera_remove(Camera* p_camera) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _3D_DISABLED
|
||||||
void Viewport::_camera_make_next_current(Camera* p_exclude) {
|
void Viewport::_camera_make_next_current(Camera* p_exclude) {
|
||||||
|
|
||||||
for(Set<Camera*>::Element *E=cameras.front();E;E=E->next()) {
|
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) {
|
void Viewport::set_transparent_background(bool p_enable) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue