Skip to content

Commit

Permalink
Merge pull request #1660 from zenustech/fix-zhaoruiyang-bug
Browse files Browse the repository at this point in the history
fix-zhaoruiyang-bug
  • Loading branch information
legobadman authored Dec 26, 2023
2 parents 6c57945 + 9549637 commit 7fd3623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenovis/src/bate/HudGraphicPrimHighlight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7fd3623

Please sign in to comment.