MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / Redo

Method Redo

Editor/Objects/ObjectManager.cpp:105–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 GetIEditor()->DeleteObject( m_object );
104 }
105 virtual void Redo()
106 {
107 if (m_redo)
108 {
109 IObjectManager *pObjMan = GetIEditor()->GetObjectManager();
110 CObjectArchive ar( pObjMan,m_redo,true );
111 ar.bUndo = true;
112 ar.LoadObject( m_redo,m_object );
113 pObjMan->SelectObject( m_object );
114 }
115 }
116private:
117 CBaseObjectPtr m_object;
118 XmlNodeRef m_redo;

Callers

nothing calls this directly

Calls 4

GetIEditorFunction · 0.85
GetObjectManagerMethod · 0.45
LoadObjectMethod · 0.45
SelectObjectMethod · 0.45

Tested by

no test coverage detected