In collaborative projects, team members may edit the same scene in different ways. Version control systems (VCS) like Git can help manage these modifications through merging. However, merging scenes (TSCN format) can be challenging due to their complex semantics and potential for corruption.
To prevent scene corruption after merging, the Godot Editor should provide a merge scene window that allows users to merge TSCN files. This tool should:
- Detect Git merge conflict placeholders (
<<<<<<<
,=======
,>>>>>>>
) - Reconstruct local and remote scenes
- Display a merged scene tree with actions to accept or discard changes, or choose between local and remote versions
The merge tool should be intelligent enough to detect node movements, renaming, and other complex scene semantics. It should also allow users to edit the merged scene before saving it.