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 ...@@ -97,6 +97,8 @@ myrelease: basic launcher ttooljar
basic: basic:
$(JAVAC) $(CLASSPATH) $(TTOOL_SRC) $(TTOOL_SRC)/*.java $(JAVAC) $(CLASSPATH) $(TTOOL_SRC) $(TTOOL_SRC)/*.java
jar: ttooljar
ttooljar: ttooljar:
rm -f $(TTOOL_BIN)/$(TTOOL_BINARY) rm -f $(TTOOL_BIN)/$(TTOOL_BINARY)
cp $(TTOOL_SRC)/ui/images/$(STD_LOGO) $(TTOOL_SRC)/ui/images/$(LOGO) cp $(TTOOL_SRC)/ui/images/$(STD_LOGO) $(TTOOL_SRC)/ui/images/$(LOGO)
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -323,7 +323,8 @@ public class AvatarAnalysisPanel extends TURTLEPanel { ...@@ -323,7 +323,8 @@ public class AvatarAnalysisPanel extends TURTLEPanel {
for(TGComponent elt: actors) { for(TGComponent elt: actors) {
if (elt.getX() > middleX && !systemAdded) { if (elt.getX() > middleX && !systemAdded) {
sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel)); sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel));
sdi.setValue(systemName); sdi.setValue(systemName);
sdi.setName(systemName);
sdi.setActor(false); sdi.setActor(false);
panel.addComponent(sdi, initX, initY, false, true); panel.addComponent(sdi, initX, initY, false, true);
initX += stepX; initX += stepX;
...@@ -331,6 +332,7 @@ public class AvatarAnalysisPanel extends TURTLEPanel { ...@@ -331,6 +332,7 @@ public class AvatarAnalysisPanel extends TURTLEPanel {
} }
sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel)); sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel));
sdi.setValue(elt.getValue()); sdi.setValue(elt.getValue());
sdi.setName(elt.getValue());
sdi.setActor(true); sdi.setActor(true);
panel.addComponent(sdi, initX, initY, false, true); panel.addComponent(sdi, initX, initY, false, true);
initX += stepX; initX += stepX;
...@@ -339,6 +341,7 @@ public class AvatarAnalysisPanel extends TURTLEPanel { ...@@ -339,6 +341,7 @@ public class AvatarAnalysisPanel extends TURTLEPanel {
if (!systemAdded) { if (!systemAdded) {
sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel)); sdi = (SDInstance)(TGComponentManager.addComponent(initX, initY, TGComponentManager.SD_INSTANCE, panel));
sdi.setValue(systemName); sdi.setValue(systemName);
sdi.setName(systemName);
sdi.setActor(false); sdi.setActor(false);
panel.addComponent(sdi, initX, initY, false, true); panel.addComponent(sdi, initX, initY, false, true);
initX += stepX; initX += stepX;
......
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