MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / RedoAddMaterial

Method RedoAddMaterial

neo/tools/materialeditor/MaterialDocManager.cpp:224–245  ·  view source on GitHub ↗

* Used to redo an add material and undo a delete material. * The undo for adding a material deletes the material. Instead of adding a completely * new material RedoAddMaterial finds the one that was just deleted and uses that. * @param name The name of the material that was added/deleted. * @param clearData Should the material definition be reset to the default definition. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

RedoMethod · 0.80
UndoMethod · 0.80

Calls 7

SetRenderMaterialMethod · 0.80
ApplyMaterialChangesMethod · 0.80
FindMaterialMethod · 0.45
SetTextMethod · 0.45
DefaultDefinitionMethod · 0.45
SetMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected