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

Resolving bug on SD gneration

parent 8e028d1d
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,8 @@ myrelease: basic launcher ttooljar
basic:
$(JAVAC) $(CLASSPATH) $(TTOOL_SRC) $(TTOOL_SRC)/*.java
jar: ttooljar
ttooljar:
rm -f $(TTOOL_BIN)/$(TTOOL_BINARY)
cp $(TTOOL_SRC)/ui/images/$(STD_LOGO) $(TTOOL_SRC)/ui/images/$(LOGO)
......
This diff is collapsed.
......@@ -323,7 +323,8 @@ public class AvatarAnalysisPanel extends TURTLEPanel {
for(TGComponent elt: actors) {
if (elt.getX() > middleX && !systemAdded) {
sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel));
sdi.setValue(systemName);
sdi.setValue(systemName);
sdi.setName(systemName);
sdi.setActor(false);
panel.addComponent(sdi, initX, initY, false, true);
initX += stepX;
......@@ -331,6 +332,7 @@ public class AvatarAnalysisPanel extends TURTLEPanel {
}
sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel));
sdi.setValue(elt.getValue());
sdi.setName(elt.getValue());
sdi.setActor(true);
panel.addComponent(sdi, initX, initY, false, true);
initX += stepX;
......@@ -339,6 +341,7 @@ public class AvatarAnalysisPanel extends TURTLEPanel {
if (!systemAdded) {
sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel));
sdi.setValue(systemName);
sdi.setName(systemName);
sdi.setActor(false);
panel.addComponent(sdi, initX, initY, false, true);
initX += stepX;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment