From b116ef62c0edfcdf3485cec78942cc9184daa086 Mon Sep 17 00:00:00 2001 From: cpdt Date: Sat, 21 Jul 2018 21:35:56 +1000 Subject: [PATCH] remove logs, fixes #37 --- editor/model/serialize/HistorySerializer.cpp | 4 ---- editor/model/serialize/ModelObjectSerializer.cpp | 3 --- 2 files changed, 7 deletions(-) diff --git a/editor/model/serialize/HistorySerializer.cpp b/editor/model/serialize/HistorySerializer.cpp index 7c4d2e80..24424874 100644 --- a/editor/model/serialize/HistorySerializer.cpp +++ b/editor/model/serialize/HistorySerializer.cpp @@ -44,7 +44,6 @@ HistoryList HistorySerializer::deserialize(QDataStream &stream, uint32_t version std::vector> stack; stack.reserve(stackSize); for (uint32_t i = 0; i < stackSize; i++) { - std::cout << "Deserializing history item at " << stream.device()->pos() << std::endl; QByteArray actionBuffer; stream >> actionBuffer; QDataStream actionStream(&actionBuffer, QIODevice::ReadOnly); @@ -98,9 +97,6 @@ std::unique_ptr HistorySerializer::deserializeAction(QDataStream &stream uint8_t actionTypeInt; stream >> actionTypeInt; - std::cout << "Deserializing " << Action::typeToString((Action::ActionType) actionTypeInt).toStdString() - << std::endl; - switch ((Action::ActionType) actionTypeInt) { case Action::ActionType::COMPOSITE: return deserializeCompositeAction(stream, version, root); diff --git a/editor/model/serialize/ModelObjectSerializer.cpp b/editor/model/serialize/ModelObjectSerializer.cpp index 4e38dec3..5447e217 100644 --- a/editor/model/serialize/ModelObjectSerializer.cpp +++ b/editor/model/serialize/ModelObjectSerializer.cpp @@ -31,7 +31,6 @@ std::vector ModelObjectSerializer::deserializeChunk(QDataStream & stream >> objectCount; usedObjects.reserve(objectCount); for (uint32_t i = 0; i < objectCount; i++) { - std::cout << "Deserializing model object at " << stream.device()->pos() << std::endl; QByteArray objectBuffer; stream >> objectBuffer; QDataStream objectStream(&objectBuffer, QIODevice::ReadOnly); @@ -78,8 +77,6 @@ std::unique_ptr ModelObjectSerializer::deserialize(QDataStream &str uint8_t typeInt; stream >> typeInt; - std::cout << "Deserializing " << (uint64_t) typeInt << " UUID = " << uuid.toString().toStdString() - << " (parent = " << parentUuid.toString().toStdString() << ")" << std::endl; return deserializeInner(stream, version, root, (ModelObject::ModelType) typeInt, uuid, parentUuid, ref); }