From 0983cd787ef575844351cfca77686b918fbb81fd Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 17 May 2011 09:25:44 +0100 Subject: [PATCH] ensure all colour statements added to string set --- src/jalview/ext/jmol/JmolCommands.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/ext/jmol/JmolCommands.java b/src/jalview/ext/jmol/JmolCommands.java index acf27f6..0e6cac3 100644 --- a/src/jalview/ext/jmol/JmolCommands.java +++ b/src/jalview/ext/jmol/JmolCommands.java @@ -99,6 +99,11 @@ public class JmolCommands } } } + { + // add final chunk + str.add(command.toString()); + command.setLength(0); + } return str.toArray(new String[str.size()]); } -- 1.7.10.2