summaryrefslogtreecommitdiff
path: root/scene/3d/spatial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spatial.cpp')
-rw-r--r--scene/3d/spatial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/spatial.cpp b/scene/3d/spatial.cpp
index 6843a7e9b3..69706a6039 100644
--- a/scene/3d/spatial.cpp
+++ b/scene/3d/spatial.cpp
@@ -620,7 +620,7 @@ void Spatial::set_visible(bool p_visible) {
bool Spatial::is_visible() const {
- return !data.visible;
+ return data.visible;
}
void Spatial::rotate(const Vector3& p_normal,float p_radians) {