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

Method OnUpdateRoomSetCenterFromViewer

editor/editorView.cpp:1281–1281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279void CEditorView::OnRoomRenameRoom() { RenameRoom(); }
1280
1281void CEditorView::OnUpdateRoomSetCenterFromViewer(CCmdUI *pCmdUI) { pCmdUI->Enable(!OBJECT_OUTSIDE(Viewer_object)); }
1282
1283void CEditorView::OnRoomSetCenterFromViewer() {
1284 ASSERT(!OBJECT_OUTSIDE(Viewer_object));

Callers

nothing calls this directly

Calls 1

EnableMethod · 0.45

Tested by

no test coverage detected