MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / onMaterialUndo

Method onMaterialUndo

Engine/source/gui/worldEditor/terrainEditor.cpp:1705–1715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1703}
1704
1705void TerrainEditor::onMaterialUndo( TerrainBlock *terr )
1706{
1707 setDirty();
1708 scheduleMaterialUpdate();
1709 setGridUpdateMinMax();
1710
1711 terr->mDetailsDirty = true;
1712 terr->mLayerTexDirty = true;
1713
1714 Con::executef( this, "onMaterialUndo" );
1715}
1716
1717void TerrainEditor::TerrainMaterialUndoAction::undo()
1718{

Callers 1

undoMethod · 0.80

Calls 1

executefFunction · 0.85

Tested by

no test coverage detected