Scripting: Allow MapObjects in Tool previews
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Currently, only Tile Layers in scripted tool previews are rendered. This means that any scripted tools that add Objects are unable to show a preview, and the user must work blindly. It would be useful if Object layers added to the tool's preview were also rendered.
In addition, it looks like map.merge() will ignore any Object Layers and only merge Tile Layers. I think Object Layers should be merged too.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how scripted tool previews render Tile Layers and how map.merge() handles layers. Compare both paths for their treatment of Object Layers. Done means Object Layers added to a tool's preview are rendered and Object Layers are included when maps are merged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100