diff options
author | Ray Koopa <raykoopa@users.noreply.github.com> | 2017-01-18 21:49:30 +0100 |
---|---|---|
committer | Ray Koopa <raykoopa@users.noreply.github.com> | 2017-01-18 22:00:00 +0100 |
commit | faa13adad3bd5fd2bd387399623c0b99ed4c4fe9 (patch) | |
tree | 70550e6a081bdcc59de90a38b8686070ec332958 /scene | |
parent | ca14dd296a9ce9f39cefe378fda5e127375970f4 (diff) |
Fix editor method calls to is_visible for Spatial and CanvasItem and is_visible itself for Spatial
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/spatial.cpp | 2 |
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) { |