Skip to content

Commit ff02e39

Browse files
committed
code review fix
use |= operator
1 parent 8835913 commit ff02e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private bool ExportComponentAttributes (MeshInfo mesh, FbxMesh fbxMesh, int[] un
247247
exportedAttribute = true;
248248
}
249249

250-
exportedAttribute = exportedAttribute || ExportUVs (fbxMesh, mesh, unmergedTriangles);
250+
exportedAttribute |= ExportUVs (fbxMesh, mesh, unmergedTriangles);
251251

252252
using (var fbxLayerElement = FbxLayerElementVertexColor.Create (fbxMesh, "VertexColors"))
253253
{

0 commit comments

Comments
 (0)