Optimize GC for motions.
This commit is contained in:
@@ -911,11 +911,11 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
if (!xw.Equals(0)) return false;
|
||||
if (!xh.Equals(0)) return false;
|
||||
if (!yw.Equals(0)) return false;
|
||||
if (!yh.Equals(0)) return false;
|
||||
if (!z.Equals(0)) return false;
|
||||
if (xw == null || xw != 0) return false;
|
||||
if (xh == null || xh != 0) return false;
|
||||
if (yw == null || yw != 0) return false;
|
||||
if (xh == null || xh != 0) return false;
|
||||
if (z == null || z != 0) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user