diff --git a/direct/src/distributed/CRCache.py b/direct/src/distributed/CRCache.py index ae1b174be2..340b6fc0a7 100644 --- a/direct/src/distributed/CRCache.py +++ b/direct/src/distributed/CRCache.py @@ -89,5 +89,5 @@ class CRCache: from PandaModules import NodePath for obj in self.dict.values(): if isinstance(obj, NodePath): - assert(not obj.isEmpty() and obj.getTopNode() == hidden.node()) + assert(not obj.isEmpty() and obj.getTopNode() != render.node()) return 1