Explorar el Código

[csharp] Don't use `DIP_MIX` across tracks.

based on https://github.com/EsotericSoftware/spine-runtimes/commit/61e54a5771481f037ee8bdcc9956489d66d15560
John hace 8 años
padre
commit
4139546b87
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      spine-csharp/src/AnimationState.cs

+ 1 - 5
spine-csharp/src/AnimationState.cs

@@ -616,14 +616,10 @@ namespace Spine {
 			propertyIDs.Clear();
 			propertyIDs.Clear();
 			var mixingTo = this.mixingTo;
 			var mixingTo = this.mixingTo;
 
 
-			TrackEntry lastEntry = null;
 			var tracksItems = tracks.Items;
 			var tracksItems = tracks.Items;
 			for (int i = 0, n = tracks.Count; i < n; i++) {
 			for (int i = 0, n = tracks.Count; i < n; i++) {
 				var entry = tracksItems[i];
 				var entry = tracksItems[i];
-				if (entry != null) {
-					entry.SetTimelineData(lastEntry, mixingTo, propertyIDs);
-					lastEntry = entry;
-				}
+				if (entry != null) entry.SetTimelineData(null, mixingTo, propertyIDs);
 			}
 			}
 		}
 		}