Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…runtimes into 3.7-beta
  • Loading branch information
badlogic committed Jun 15, 2018
2 parents f38ffc7 + d59096f commit 38f66b8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1363,9 +1363,9 @@ internal static class SkeletonDataFileValidator {

bool pmaVertexColors = false;
bool tintBlack = false;
foreach (SpineAtlasAsset atlasAsset in skeletonDataAsset.atlasAssets) {
foreach (var atlasAsset in skeletonDataAsset.atlasAssets) {
if (!pmaVertexColors) {
foreach (Material m in atlasAsset.materials) {
foreach (Material m in atlasAsset.Materials) {
if (m.shader.name.Contains(PMAShaderQuery)) {
pmaVertexColors = true;
break;
Expand All @@ -1374,7 +1374,7 @@ internal static class SkeletonDataFileValidator {
}

if (!tintBlack) {
foreach (Material m in atlasAsset.materials) {
foreach (Material m in atlasAsset.Materials) {
if (m.shader.name.Contains(TintBlackShaderQuery)) {
tintBlack = true;
break;
Expand Down

0 comments on commit 38f66b8

Please sign in to comment.