DarkRadiant: master 06d0f8b3

Author Committer Branch Timestamp Parent
greebo greebo master 25.12.2020 03:03 master 5ae4cfea
Affected Issues  0005451: Layer operations do not mark the map as unsaved
Changeset 0005451: Add new "CreateLayer" command accepting a string argument. Mark the map as modified after creating a layer, also when created through the dialog.
A weakness of CommandSystem::executeCommand is that there is no way to return a result, which is limiting its use - this way we can't directly use the CreateNewLayer command in the CreateLayerDialog implementation.
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/layers/CreateLayerDialog.cpp Diff File
mod - radiant/ui/layers/LayerContextMenu.h Diff File
mod - radiant/ui/layers/LayerControlDialog.cpp Diff File
mod - radiantcore/layers/LayerModule.cpp Diff File
mod - test/LayerManipulation.cpp Diff File