Skip to content
Snippets Groups Projects
Commit ce28a923 authored by Ludovic Apvrille's avatar Ludovic Apvrille
Browse files

pre-update for bug on drawing avatar spec

parent ba329240
No related branches found
No related tags found
No related merge requests found
......@@ -9128,7 +9128,8 @@ public class GTURTLEModeling {
return;
}
AvatarSMDConnector SMDcon = new AvatarSMDConnector(p1.getX(), p1.getY(), p1.getX(), p1.getY(), p1.getX(), p1.getY(), true, null, smp, p1, p2, points);
AvatarSMDConnector SMDCon = new AvatarSMDConnector(p1.getX(), p1.getY(), p1.getX(), p1.getY(), p1.getX(), p1.getY(), true, null, smp,
p1, p2, points);
//
///
p1.setFree(false);
......@@ -9139,11 +9140,11 @@ public class GTURTLEModeling {
} else {
action = t.getActions().get(0).toString().replaceAll(" ", "");
}
SMDcon.setTransitionInfo(t.getGuard().toString(), action);
SMDCon.setTransitionInfo(t.getGuard().toString(), action);
for (int i = 1; i < t.getActions().size(); i++) {
SMDcon.setTransitionInfo("", t.getActions().get(i).toString().replaceAll(" ", ""));
SMDCon.setTransitionInfo("", t.getActions().get(i).toString().replaceAll(" ", ""));
}
smp.addComponent(SMDcon, p1.getX(), p1.getY(), false, true);
smp.addComponent(SMDCon, p1.getX(), p1.getY(), false, true);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment