Skip to content

Commit efc89d3

Browse files
authored
Merge pull request #443 from umasteeringgroup/Feature-13
Fix for unloaded blendshapes. Speedup Global Library cell draw
2 parents 2a2658c + 76ba90a commit efc89d3

File tree

3 files changed

+913
-197
lines changed

3 files changed

+913
-197
lines changed

UMAProject/Assets/UMA/Core/Editor/Scripts/UMAAssetTreeView.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ void CellGUI(Rect cellRect, TreeViewItem<AssetTreeElement> item, AssetColumns co
502502
*/
503503
#if UMA_ADDRESSABLES
504504

505-
if (ai.Item is UMATextRecipe)
505+
if (ai._Type == typeof(UMATextRecipe))
506506
{
507507
UMATextRecipe recipe = ai.Item as UMATextRecipe;
508508

UMAProject/Assets/UMA/Core/StandardAssets/UMA/Scripts/SkinnedMeshCombiner.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public static void CombineMeshes(UMAMeshData target, CombineInstance[] sources,
323323

324324
if (has_blendShapes)
325325
{
326-
if (source.meshData.blendShapes != null && source.meshData.blendShapes.Length > 0)
326+
//if (source.meshData.blendShapes != null && source.meshData.blendShapes.Length > 0)
327327
{
328328
List<UMABlendShape> sourceShapes = GetBlendshapeSources(source.meshData, recipe);
329329
int sourceBlendShapeLength = sourceShapes.Count;

0 commit comments

Comments
 (0)