From 380f509bc61ed9cff769f89c5b3ca3dab0c7719a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 6 Jan 2015 21:46:56 +0000 Subject: Fix JSON serializer's root iterate for sequences --- slicer/json/serializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slicer/json/serializer.cpp b/slicer/json/serializer.cpp index 31a8a2a..8494354 100644 --- a/slicer/json/serializer.cpp +++ b/slicer/json/serializer.cpp @@ -227,7 +227,7 @@ namespace Slicer { break; case mpt_Sequence: *n = json::Array(); - mp->OnEachChild(boost::bind(&JsonSerializer::ModelTreeIterate, n, _1, _2)); + mp->OnEachChild(boost::bind(&JsonSerializer::ModelTreeIterateSeq, n, _2)); break; case mpt_Dictionary: *n = json::Array(); -- cgit v1.2.3