Skip to content

Commit

Permalink
Do not stitch triangle strips when importing OBJ as collision
Browse files Browse the repository at this point in the history
  • Loading branch information
fo76utils committed Jan 12, 2025
1 parent d4a12c4 commit c110434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/importex/obj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ void importObjMain( NifModel * nif, const QModelIndex & index, bool collision )
bounds.update( nif, iData );

// do not stitch, because it looks better in the cs
QVector<QVector<quint16> > strips = stripify( triangles );
QVector<QVector<quint16> > strips = stripify( triangles, false );

nif->set<int>( iData, "Num Strips", strips.count() );
nif->set<int>( iData, "Has Points", 1 );
Expand Down

0 comments on commit c110434

Please sign in to comment.