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

Function addOriginToChildPrimitives

libs/scene/ChildPrimitives.cpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66};
67
68void addOriginToChildPrimitives(const scene::INodePtr& root)
69{
70 // Disable texture lock during this process
71 registry::ScopedKeyChanger<bool> changer(RKEY_ENABLE_TEXTURE_LOCK, false);
72
73 OriginAdder adder;
74 root->traverse(adder);
75}
76
77void removeOriginFromChildPrimitives(const scene::INodePtr& root)
78{

Callers 3

loadMethod · 0.85
finishSceneMethod · 0.85
importFromStreamFunction · 0.85

Calls 1

traverseMethod · 0.45

Tested by

no test coverage detected