Merge pull request '에셋 정보 불러올 때 모델링 읽기 권한 예외 처리' (#160) from jym/250613_00 into main
Reviewed-on: http://220.90.135.190:3000/UVCXR/Studio/pulls/160
This commit was merged in pull request #160.
This commit is contained in:
@@ -244,6 +244,9 @@ namespace Studio.Manage
|
|||||||
|
|
||||||
foreach (var mf in meshFilters)
|
foreach (var mf in meshFilters)
|
||||||
{
|
{
|
||||||
|
if (mf.sharedMesh.isReadable)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (mf.sharedMesh != null)
|
if (mf.sharedMesh != null)
|
||||||
{
|
{
|
||||||
int tris = mf.sharedMesh.triangles.Length / 3;
|
int tris = mf.sharedMesh.triangles.Length / 3;
|
||||||
@@ -253,6 +256,9 @@ namespace Studio.Manage
|
|||||||
|
|
||||||
foreach (var smr in skinnedRenderers)
|
foreach (var smr in skinnedRenderers)
|
||||||
{
|
{
|
||||||
|
if (smr.sharedMesh.isReadable)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (smr.sharedMesh != null)
|
if (smr.sharedMesh != null)
|
||||||
{
|
{
|
||||||
int tris = smr.sharedMesh.triangles.Length / 3;
|
int tris = smr.sharedMesh.triangles.Length / 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user