Unverified Commit 2935cd8a by Rémi Verschelde Committed by GitHub

Revert "Prevent visibility notification from being called twice in object creation"

parent 6e32a288
......@@ -272,8 +272,7 @@ bool CanvasItem::is_visible_in_tree() const {
void CanvasItem::_propagate_visibility_changed(bool p_visible) {
if (!first_draw)
notification(NOTIFICATION_VISIBILITY_CHANGED);
notification(NOTIFICATION_VISIBILITY_CHANGED);
if (p_visible)
update(); //todo optimize
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment