Skip to content

Commit 5c6c86c

Browse files
committed
Handle missing compute shaders
1 parent 0e68605 commit 5c6c86c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/Scripts/Export/BrushBaker.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public Mesh ProcessMesh(Mesh mesh, string brushGuid)
3333
{
3434
return mesh;
3535
}
36+
if (computeShader == null) return mesh;
3637

3738
// Get the transformation matrix from the GameObject's transform
3839
Matrix4x4 transformMatrix = transform.localToWorldMatrix;

0 commit comments

Comments
 (0)