MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / createPrefabInternal

Function createPrefabInternal

radiantcore/patch/algorithm/Prefab.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void createPrefabInternal(EPatchPrefab prefabType, const std::string& undoCmdName)
90{
91 UndoableCommand undo(undoCmdName);
92
93 constructPrefab(getDefaultBoundsFromSelection(),
94 getSelectedShader(),
95 prefabType,
96 GlobalOrthoViewManager().getActiveViewType());
97}
98
99void createPrefab(const cmd::ArgumentList& args)
100{

Callers 9

createPrefabFunction · 0.85
createCylinderFunction · 0.85
createDenseCylinderFunction · 0.85
createVeryDenseCylinderFunction · 0.85
createSquareCylinderFunction · 0.85
createSphereFunction · 0.85
createEndcapFunction · 0.85
createBevelFunction · 0.85
createConeFunction · 0.85

Calls 4

constructPrefabFunction · 0.85
getSelectedShaderFunction · 0.85
getActiveViewTypeMethod · 0.45

Tested by

no test coverage detected