From f9835763becd76e9423396c8c2c793fe99aa3877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4=C3=A4tt=C3=A4?= Date: Tue, 6 Apr 2021 13:44:07 +0300 Subject: Revert "Fix component visibility when changing slides" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduces regression for QT3DS-4214 This reverts commit 9c62fa3b6190991e7594da9a4d8b39e3ff8b5c2f. Change-Id: I7ce2be5369720d20b75ddd1d311dc29ab536112c Reviewed-by: Tony Leinonen Reviewed-by: Tomi Korpipää --- src/runtime/Qt3DSElementSystem.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/runtime/Qt3DSElementSystem.h') diff --git a/src/runtime/Qt3DSElementSystem.h b/src/runtime/Qt3DSElementSystem.h index 2632d9d..22cf66c 100644 --- a/src/runtime/Qt3DSElementSystem.h +++ b/src/runtime/Qt3DSElementSystem.h @@ -477,26 +477,6 @@ namespace runtime { return !IsExplicitActive(); } - bool areAllParentsActive() - { - SElement *parent = GetParent(); - if (parent) { - bool isActive = parent->GetActive(); - if (!isActive) - isActive = parent->AboutToActivate(); - if (Depth() > 2) { - if (isActive) - isActive = parent->areAllParentsActive(); - } else { - return true; - } - return isActive; - } else { - return true; - } - return false; - } - bool IsAnyParentAboutToActivate() { SElement *parent = GetParent(); -- cgit v1.2.3