Skip to content

Commit

Permalink
Log a warning message if a skinned mesh is being imported
Browse files Browse the repository at this point in the history
  • Loading branch information
amirebrahimi committed Sep 6, 2018
1 parent dbbbb42 commit 1f2c171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Editor/ModelImporterLODGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void OnPostprocessModel(GameObject go)
{
if (go.GetComponentsInChildren<SkinnedMeshRenderer>().Any())
{
Debug.Log("Automatic LOD generation on does not currently support skinned meshes on import");
Debug.LogWarning("Automatic LOD generation on skinned meshes is not currently supported");
return;
}

Expand Down

0 comments on commit 1f2c171

Please sign in to comment.