fix(Blenvy:Bevy): Fix Blenvy not respecting visibility hierarchies (#203)

This commit is contained in:
Jan Hohenheim 2024-07-29 00:01:02 +02:00 committed by GitHub
parent 17b31daa30
commit aff11cca4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -844,7 +844,7 @@ pub(crate) fn blueprints_finalize_instances(
} }
if hide_until_ready.is_some() { if hide_until_ready.is_some() {
commands.entity(entity).insert(Visibility::Visible); commands.entity(entity).insert(Visibility::Inherited);
} }
blueprint_events.send(BlueprintEvent::InstanceReady { blueprint_events.send(BlueprintEvent::InstanceReady {