export shapes of root position (fixes #4988)

pull/5036/head
Niklas Fiekas 2019-04-18 19:40:39 +02:00
parent 11151a31be
commit 2b8eef5e4b
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ final class PgnDump(
def ofChapter(study: Study, chapter: Chapter) = Pgn(
tags = makeTags(study, chapter),
turns = toTurns(chapter.root),
initial = Initial(chapter.root.comments.list.map(_.text.value))
initial = Initial(
chapter.root.comments.list.map(_.text.value) ::: shapeComment(chapter.root.shapes).toList
)
)
private val fileR = """[\s,]""".r