From: <aki...@us...> - 2008-07-29 08:20:29
|
Revision: 4574 http://gridarta.svn.sourceforge.net/gridarta/?rev=4574&view=rev Author: akirschbaum Date: 2008-07-29 08:20:37 +0000 (Tue, 29 Jul 2008) Log Message: ----------- Remove calls to MainControl.getArchetypeSet(). Modified Paths: -------------- trunk/daimonin/src/daieditor/gui/gameobjectattributesdialog/GameObjectAttributesDialog.java trunk/src/app/net/sf/gridarta/gui/gameobjectattributesdialog/AbstractGameObjectAttributesDialog.java Modified: trunk/daimonin/src/daieditor/gui/gameobjectattributesdialog/GameObjectAttributesDialog.java =================================================================== --- trunk/daimonin/src/daieditor/gui/gameobjectattributesdialog/GameObjectAttributesDialog.java 2008-07-29 08:19:17 UTC (rev 4573) +++ trunk/daimonin/src/daieditor/gui/gameobjectattributesdialog/GameObjectAttributesDialog.java 2008-07-29 08:20:37 UTC (rev 4574) @@ -400,7 +400,7 @@ // now lets assign the visible face - perhaps we have still a anim gameObject.setObjectFace(); - imagePanel.setIcon(mainControl.getArchetypeSet().getFace(gameObject)); + imagePanel.setIcon(archetypeSet.getFace(gameObject)); if (newMsg != null) { // set new msg text only when it is not equal to Archetype Modified: trunk/src/app/net/sf/gridarta/gui/gameobjectattributesdialog/AbstractGameObjectAttributesDialog.java =================================================================== --- trunk/src/app/net/sf/gridarta/gui/gameobjectattributesdialog/AbstractGameObjectAttributesDialog.java 2008-07-29 08:19:17 UTC (rev 4573) +++ trunk/src/app/net/sf/gridarta/gui/gameobjectattributesdialog/AbstractGameObjectAttributesDialog.java 2008-07-29 08:20:37 UTC (rev 4574) @@ -130,7 +130,7 @@ * The archetype set to use. */ @NotNull - private final ArchetypeSet<G, A, R> archetypeSet; + protected final ArchetypeSet<G, A, R> archetypeSet; /** The animation objects to use. */ @NotNull This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |