| 273 | } |
| 274 | |
| 275 | void ColladaSerializer::ColladaExporter::ColladaScene::closeParent() |
| 276 | { |
| 277 | // Get the top element |
| 278 | COLLADASW::Node *current_node = parentNodes.top(); |
| 279 | |
| 280 | // Close the node |
| 281 | current_node->end(); |
| 282 | |
| 283 | // Remove it from the stack |
| 284 | parentNodes.pop(); |
| 285 | matrixStack.pop(); |
| 286 | serializer->parentStackId.pop(); |
| 287 | |
| 288 | // Free the memory |
| 289 | delete current_node; |
| 290 | current_node = NULL; |
| 291 | } |
| 292 | |
| 293 | void ColladaSerializer::ColladaExporter::ColladaScene::write() { |
| 294 | if (scene_opened) { |
no test coverage detected