Skip to content

Commit

Permalink
reset last deserialized too
Browse files Browse the repository at this point in the history
  • Loading branch information
mischa authored and miwarnec committed Oct 29, 2024
1 parent ea0f3b4 commit 8580770
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -972,11 +972,14 @@ public virtual void Reset()

// reset baseline
lastSerializedBaselineTick = 0;
lastDeserializedBaselineTick = 0;
lastSerializedBaselinePosition = Vector3.zero;
lastSerializedBaselineRotation = Quaternion.identity;
baselineDirty = true;

lastDeserializedBaselineTick = 0;
lastDeserializedBaselinePosition = Vector3.zero;
lastDeserializedBaselineRotation = Quaternion.identity;

// Debug.Log($"[{name}] Reset to baselineTick=0");
}

Expand Down

0 comments on commit 8580770

Please sign in to comment.