Skip to content

Commit

Permalink
fix(Highlighter): fix syntax error with use of CombineMeshes
Browse files Browse the repository at this point in the history
CombineMeshes can only be called on a mesh object and not on a
MeshFilter. This was throwing a critical error and has now been
fixed.
  • Loading branch information
thestonefox committed Feb 16, 2017
1 parent ee21ea6 commit 608b007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private void CreateHighlightModel()
}

highlightMesh.mesh = new Mesh();
highlightMesh.CombineMeshes(combine.ToArray(), true, false);
highlightMesh.mesh.CombineMeshes(combine.ToArray(), true, false);
}
else
{
Expand Down

0 comments on commit 608b007

Please sign in to comment.