Fix the position of the head
anchors of tracks.
This commit is contained in:
@@ -157,6 +157,9 @@ namespace Cryville.Crtr.Event {
|
||||
if (s.CloneType == 3) SetPreGraphicalActive(true, s);
|
||||
else if (ev is StampedEvent.Anchor) {
|
||||
var tev = (StampedEvent.Anchor)ev;
|
||||
if (tev.Target == a_head) {
|
||||
SetGraphicalActive(true, s);
|
||||
}
|
||||
if (RootTransform) {
|
||||
OpenAnchor(tev.Target);
|
||||
#if UNITY_5_6_OR_NEWER
|
||||
@@ -168,10 +171,7 @@ namespace Cryville.Crtr.Event {
|
||||
MatchDynamic(s, 2);
|
||||
CloseAnchor();
|
||||
}
|
||||
if (tev.Target == a_head) {
|
||||
SetGraphicalActive(true, s);
|
||||
}
|
||||
else if (tev.Target == a_tail) {
|
||||
if (tev.Target == a_tail) {
|
||||
SetGraphicalActive(false, s);
|
||||
}
|
||||
anchorEvPool.Return(tev);
|
||||
|
Reference in New Issue
Block a user