mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-14 14:59:43 -05:00
Merge pull request #1904 from Santarh/suppressPreprocessor
Use static getter instead of preprocessors.
This commit is contained in:
@@ -55,9 +55,6 @@ namespace VRMShaders
|
||||
if (!x.UseExternal)
|
||||
{
|
||||
// 外部の '.asset' からロードしていない
|
||||
#if VRM_DEVELOP
|
||||
// Debug.Log($"Destroy {x.Asset}");
|
||||
#endif
|
||||
UnityObjectDestroyer.DestroyRuntimeOrEditor(x.Asset);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,18 @@ namespace VRMShaders
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
public static bool VRM_NORMALIZE_BLENDSHAPE_TANGENT
|
||||
{
|
||||
get
|
||||
{
|
||||
#if VRM_NORMALIZE_BLENDSHAPE_TANGENT
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user