From fa32c4d664b51c08dac75c62453f99f99125d946 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 20 Aug 2012 18:08:23 +0200 Subject: [PATCH] Added: #1440 Additional output --HG-- branch : build_pipeline_v3 --- code/nel/tools/pipeline/max/storage_object.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/nel/tools/pipeline/max/storage_object.cpp b/code/nel/tools/pipeline/max/storage_object.cpp index 3d91a164c..bb97c65cd 100644 --- a/code/nel/tools/pipeline/max/storage_object.cpp +++ b/code/nel/tools/pipeline/max/storage_object.cpp @@ -354,6 +354,11 @@ void CStorageRaw::toString(std::ostream &ostream, const std::string &pad) ostream << ss.str() << " "; } } + if (Value.size() == 4) + { + ostream << "\n" << pad << "Int: " << (*(sint32 *)(void *)(&Value[0])) << " "; + ostream << "\n" << pad << "Float: " << (*(float *)(void *)(&Value[0])) << " "; + } ostream << "} "; }