| 188 | PatchControl ScriptPatchNode::_emptyPatchControl; |
| 189 | |
| 190 | ScriptSceneNode PatchInterface::createPatchDef2() |
| 191 | { |
| 192 | // Create a new patch and return the script scene node |
| 193 | scene::INodePtr node = GlobalPatchModule().createPatch(patch::PatchDefType::Def2); |
| 194 | |
| 195 | // Add the node to the buffer otherwise it will be deleted immediately, |
| 196 | // as ScriptSceneNodes are using weak_ptrs. |
| 197 | SceneNodeBuffer::Instance().push_back(node); |
| 198 | |
| 199 | return ScriptSceneNode(node); |
| 200 | } |
| 201 | |
| 202 | ScriptSceneNode PatchInterface::createPatchDef3() |
| 203 | { |
nothing calls this directly
no test coverage detected