Browse Source

[unity] Fixed unnecessary correct-material-stencil-comp and save assets calls which caused wait time after exiting play mode. Closes #1385.

Harald Csaszar 6 years ago
parent
commit
57992b6cdf

+ 1 - 1
spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonRenderer.cs

@@ -567,7 +567,7 @@ namespace Spine.Unity {
 						return true;
 				}
 			}
-			return true;
+			return false;
 		}
 		#endif // UNITY_EDITOR