summaryrefslogtreecommitdiffstats
path: root/src/runtime/Qt3DSElementSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/Qt3DSElementSystem.h')
-rw-r--r--src/runtime/Qt3DSElementSystem.h20
1 files changed, 0 insertions, 20 deletions
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();