stride3d / stride3d/stride

Make "Add Component" button functional with multiple entities selected

Open
#1,913 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Is your feature request related to a problem? Please describe.
When multiple entities are highlighted in the hierarchy, the "Add Component" button in the property grid does nothing at all.

Describe the solution you'd like
The Add Component button should work normally, and whatever component the user selects should be added to all highlighted entities.

Additional context
N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the property grid's "Add Component" button and trace how it handles the hierarchy's entity selection. Check the multiple-selection path first, then verify the selected component is added to every highlighted entity and that the button no longer does nothing.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.