From d83a2d4dc6e7084bff7a337af6d0adc3836fc1db Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Wed, 13 Sep 2017 15:56:49 +0900 Subject: [PATCH] Disable masking optimisations for scrolling hit objects Lifetime is very tightly controlled here, so all should be okay. --- .../Rulesets/Objects/Drawables/DrawableScrollingHitObject.cs | 1 + osu.Game/Rulesets/Timing/ScrollingContainer.cs | 1 + osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/osu.Game/Rulesets/Objects/Drawables/DrawableScrollingHitObject.cs b/osu.Game/Rulesets/Objects/Drawables/DrawableScrollingHitObject.cs index 5ba9c2ff4d..538bb826ad 100644 --- a/osu.Game/Rulesets/Objects/Drawables/DrawableScrollingHitObject.cs +++ b/osu.Game/Rulesets/Objects/Drawables/DrawableScrollingHitObject.cs @@ -31,6 +31,7 @@ namespace osu.Game.Rulesets.Objects.Drawables } public override bool RemoveWhenNotAlive => false; + protected override bool RequiresChildrenUpdate => true; protected DrawableScrollingHitObject(TObject hitObject) : base(hitObject) diff --git a/osu.Game/Rulesets/Timing/ScrollingContainer.cs b/osu.Game/Rulesets/Timing/ScrollingContainer.cs index 6e77c49e3d..eac596297a 100644 --- a/osu.Game/Rulesets/Timing/ScrollingContainer.cs +++ b/osu.Game/Rulesets/Timing/ScrollingContainer.cs @@ -29,6 +29,7 @@ namespace osu.Game.Rulesets.Timing internal Axes ScrollingAxes; public override bool RemoveWhenNotAlive => false; + protected override bool RequiresChildrenUpdate => true; /// /// The control point that defines the speed adjustments for this container. This is set by the . diff --git a/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs b/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs index d3bd7685da..81e3a5c70e 100644 --- a/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs +++ b/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs @@ -38,6 +38,7 @@ namespace osu.Game.Rulesets.Timing } public override bool RemoveWhenNotAlive => false; + protected override bool RequiresChildrenUpdate => true; /// /// The that defines the speed adjustments.