Code cleanup.

This commit is contained in:
2023-02-09 18:18:34 +08:00
parent 7714c277fd
commit 18ff4b8e16
6 changed files with 13 additions and 41 deletions

View File

@@ -97,8 +97,7 @@ namespace Cryville.Crtr {
if (s.CloneType <= 2) {
Position = GetFramePoint(s.Parent, s.Track);
Rotation = GetFrameRotation(s.Parent, s.Track);
if (s.CloneType == 2) {
if (!gogroup || !Event.IsLong) return;
if (s.CloneType == 2 && gogroup && Event.IsLong) {
foreach (var i in sgos)
i.AppendPoint(Position, Rotation);
}