aboutsummaryrefslogtreecommitdiffstats
path: root/src/layers.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-18 15:44:19 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-04 16:53:58 +0200
commitec9af67cd42ff42c2e76ac12133bd53bba5da0b7 (patch)
treefcc4ef68a22c85a6bcd8e8a665c6a49acbee9f37 /src/layers.cpp
parent978b1e2dc1ccd40e08fd700bda75bedd15b609b8 (diff)
add role to layer::to_json()
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/layers.cpp')
-rw-r--r--src/layers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layers.cpp b/src/layers.cpp
index 7beb075..c814c22 100644
--- a/src/layers.cpp
+++ b/src/layers.cpp
@@ -182,6 +182,7 @@ json layer::to_json() const {
{"id_min", this->id_min},
{"id_max", this->id_max},
{"name", this->name},
+ {"role", this->role},
{"layer_id", this->layer_id},
{"area", r},
};