Skip to content

TextBundle should derive Clone #15668

Closed as not planned
Closed as not planned
@Jaso333

Description

@Jaso333

What problem does this solve or what need does it fill?

Being able to use preconfigured bundles as templates is something that I find very useful for flexible entity spawning strategies. In all cases so far, I havent had an issue calling clone on any bundle, but for some reason TextBundle does not drive Clone. This makes it difficult to provide a preconfigured template bundle for re-use.

What solution would you like?

Simply derive(Clone) on TextBundle.

What alternative(s) have you considered?

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-TextRendering and layout for charactersC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!X-ControversialThere is active debate or serious implications around merging this PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions