Revert "[Tizen] Don't do AABB culling if the clipping mode of the node is enabled"
authordongsug.song <dongsug.song@samsung.com>
Mon, 22 Nov 2021 07:35:33 +0000 (16:35 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 22 Nov 2021 07:35:33 +0000 (16:35 +0900)
This reverts commit 907d83a0396c252d5864a27e6ad0d0691a584257.

dali/internal/update/manager/render-instruction-processor.cpp

index 15a58e8b52de7a3aab8e2f198a0a862ed4562c8a..c4c2655c38ef66bee9c2d0570f3ed6157aa4cb00 100644 (file)
@@ -194,7 +194,7 @@ inline void AddRendererToRenderList(BufferIndex         updateBufferIndex,
   Matrix  nodeModelViewMatrix(false);
   bool    nodeModelViewMatrixSet(false);
 
-  if(cull && renderable.mRenderer && !renderable.mRenderer->GetShader().HintEnabled(Dali::Shader::Hint::MODIFIES_GEOMETRY) && node->GetClippingMode() == ClippingMode::DISABLED)
+  if(cull && renderable.mRenderer && !renderable.mRenderer->GetShader().HintEnabled(Dali::Shader::Hint::MODIFIES_GEOMETRY))
   {
     const Vector4& boundingSphere = node->GetBoundingSphere();
     inside                        = (boundingSphere.w > Math::MACHINE_EPSILON_1000) &&