에셋 정보 불러올 때 모델링 읽기 권한 예외 처리 #160
@@ -244,6 +244,9 @@ namespace Studio.Manage
|
||||
|
||||
foreach (var mf in meshFilters)
|
||||
{
|
||||
if (mf.sharedMesh.isReadable)
|
||||
continue;
|
||||
|
||||
if (mf.sharedMesh != null)
|
||||
{
|
||||
int tris = mf.sharedMesh.triangles.Length / 3;
|
||||
@@ -253,6 +256,9 @@ namespace Studio.Manage
|
||||
|
||||
foreach (var smr in skinnedRenderers)
|
||||
{
|
||||
if (smr.sharedMesh.isReadable)
|
||||
continue;
|
||||
|
||||
if (smr.sharedMesh != null)
|
||||
{
|
||||
int tris = smr.sharedMesh.triangles.Length / 3;
|
||||
|
||||
Reference in New Issue
Block a user