From 9549637ad0c8f54a1c39667ae270f4fe04bddd10 Mon Sep 17 00:00:00 2001 From: zhouhang95 <765229842@qq.com> Date: Tue, 26 Dec 2023 15:39:57 +0800 Subject: [PATCH] fix-zhaoruiyang-bug --- zenovis/src/bate/HudGraphicPrimHighlight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zenovis/src/bate/HudGraphicPrimHighlight.cpp b/zenovis/src/bate/HudGraphicPrimHighlight.cpp index 09ba459ecc..3caa9bfc12 100644 --- a/zenovis/src/bate/HudGraphicPrimHighlight.cpp +++ b/zenovis/src/bate/HudGraphicPrimHighlight.cpp @@ -90,7 +90,7 @@ struct PrimitiveHighlight : IGraphicDraw { } if (!prim) continue; // ----- draw selected particles ----- - if (prim->tris->empty()) { + if (prim->tris->empty() && prim->polys->empty()) { // prepare data auto const &verts = prim->verts;