private void AddAffector(Layer layer) { if (layer == null) { return; } layer.AddAffector(new DummyAffector(stack.Context, stack.Context.Channels.Clone())); }