MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnBlurLightmaps

Method OnBlurLightmaps

editor/LightingDialog.cpp:1323–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1321}
1322
1323void CLightingDialog::OnBlurLightmaps() {
1324
1325 if ((MessageBox("Are you sure you wish to blur all lightmaps? This operation cannot be undone...", "Question",
1326 MB_YESNO)) == IDYES) {
1327 BlurLightmapInfos(LMI_ROOM);
1328 BlurLightmapInfos(LMI_ROOM_OBJECT);
1329 BlurLightmapInfos(LMI_EXTERNAL_ROOM);
1330 BlurLightmapInfos(LMI_TERRAIN_OBJECT);
1331
1332 OutrageMessageBox("Blurring complete.");
1333 }
1334}
1335
1336void CLightingDialog::OnKillfocusIgnoreLimitEdit() {
1337 CEdit *ebox;

Callers

nothing calls this directly

Calls 2

BlurLightmapInfosFunction · 0.85
OutrageMessageBoxFunction · 0.85

Tested by

no test coverage detected