Commit 7ac95fc9 authored by Klaus Hamberger's avatar Klaus Hamberger
Browse files

Added cumulative actor attribute reading.

git-svn-id: svn+ssh://svn.code.sf.net/p/tip-puck/code/trunk@2331 fbf60bc9-78ff-467a-80f5-d9f1d8e511fc
parent dd6fc0c6
......@@ -1111,7 +1111,12 @@ public class IURTXTFile {
//
for (Actor actor : actors) {
//
actor.setAttribute(trunkLabel, value);
String oldValue = actor.getAttributeValue(trunkLabel);
if (oldValue==null){
actor.setAttribute(trunkLabel, value);
} else if (!oldValue.contains(value)) {
actor.setAttribute(trunkLabel, oldValue+";"+value);
}
if (trunkLabel.equals("REF")) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment