New API for visibility in both CanvasItem and Spatial
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
This commit is contained in:
parent
a2903fc51d
commit
04c749a1f0
72 changed files with 252 additions and 292 deletions
|
|
@ -239,7 +239,7 @@ void PathFollow2D::_get_property_list( List<PropertyInfo> *p_list) const{
|
|||
|
||||
String PathFollow2D::get_configuration_warning() const {
|
||||
|
||||
if (!is_visible() || !is_inside_tree())
|
||||
if (!is_visible_in_tree() || !is_inside_tree())
|
||||
return String();
|
||||
|
||||
if (!get_parent() || !get_parent()->cast_to<Path2D>()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue