Skip to content

Commit

Permalink
Fixed smoothing groups not working on detail brushes
Browse files Browse the repository at this point in the history
  • Loading branch information
GamerDude27 authored and nullsystem committed Apr 29, 2024
1 parent cdaf1f7 commit 17d2a77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mp/src/utils/vbsp/detail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ face_t *MakeBrushFace( side_t *originalSide, winding_t *winding )
f->split[0] = f->split[1] = NULL;
f->w = CopyWinding( winding );
f->originalface = originalSide;
#ifdef SDK2013CE
f->smoothingGroups = originalSide->smoothingGroups;
#endif

//
// save material info
//
Expand Down

0 comments on commit 17d2a77

Please sign in to comment.