Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
remove logs, fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
cpdt committed Jul 21, 2018
1 parent 8ccdab3 commit b116ef6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions editor/model/serialize/HistorySerializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ HistoryList HistorySerializer::deserialize(QDataStream &stream, uint32_t version
std::vector<std::unique_ptr<Action>> 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);
Expand Down Expand Up @@ -98,9 +97,6 @@ std::unique_ptr<Action> 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);
Expand Down
3 changes: 0 additions & 3 deletions editor/model/serialize/ModelObjectSerializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ std::vector<ModelObject *> 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);
Expand Down Expand Up @@ -78,8 +77,6 @@ std::unique_ptr<ModelObject> 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);
}

Expand Down

0 comments on commit b116ef6

Please sign in to comment.