[csharp] Ported AnimationState and Animation changes of commit 50bfb3a. See #1303.

This commit is contained in:
Harald Csaszar 2019-03-19 17:25:33 +01:00
parent 9deb3be61c
commit 0d30263f50
3 changed files with 6 additions and 6 deletions

View File

@ -742,10 +742,10 @@ namespace Spine {
propertyIDs.Clear(); propertyIDs.Clear();
for (int i = tracks.Count - 1; i >= 0; i--) { for (int i = tracks.Count - 1; i >= 0; i--) {
TrackEntry entry = tracksItems[i]; TrackEntry entry = tracksItems[i];
do { while (entry != null) {
ComputeNotLast(entry); ComputeNotLast(entry);
entry = entry.mixingFrom; entry = entry.mixingFrom;
} while (entry != null); }
} }
} }

View File

@ -61,8 +61,8 @@ namespace Spine {
} }
/// <summary> /// <summary>
/// Transforms the attachment's local <see cref="Vertices"/> to world coordinates. If the slot has <see cref="Slot.Deform"/>, /// Transforms the attachment's local <see cref="Vertices"/> to world coordinates. If the slot's <see cref="Slot.Deform"/> is
/// they are used to deform the vertices. /// not empty, it is used to deform the vertices.
/// <para /> /// <para />
/// See <a href="http://esotericsoftware.com/spine-runtime-skeletons#World-transforms">World transforms</a> in the Spine /// See <a href="http://esotericsoftware.com/spine-runtime-skeletons#World-transforms">World transforms</a> in the Spine
/// Runtimes Guide. /// Runtimes Guide.

View File

@ -122,8 +122,8 @@ namespace Spine {
/// <summary>The current attachment for the slot, or null if the slot has no attachment.</summary> /// <summary>The current attachment for the slot, or null if the slot has no attachment.</summary>
get { return attachment; } get { return attachment; }
/// <summary> /// <summary>
/// Sets the slot's attachment and, if the attachment changed, resets <see cref="AttachmentTime"/> and clears /// Sets the slot's attachment and, if the attachment changed, resets <see cref="AttachmentTime"/> and clears <see cref="Deform">.
/// <see cref="AttachmentVertices">.</summary> /// </summary>
/// <param name="value">May be null.</param> /// <param name="value">May be null.</param>
set { set {
if (attachment == value) return; if (attachment == value) return;