From: SourceForge.net <no...@so...> - 2005-01-20 13:15:40
|
Bugs item #1102261, was opened at 2005-01-14 12:55 Message generated for change (Settings changed) made by theforken You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1102261&group_id=25576 Category: None Group: None >Status: Closed Resolution: None Priority: 7 Submitted By: Paul W. King (kingpaul) Assigned to: TheForken (theforken) Summary: Preview Problem Initial Comment: Per http://groups.yahoo.com/group/pcgen/message/82719 Paul, add this please. P-7 Devon TheForken wrote: >Kevin Brown wrote: > >>> Using PCGen 5.7.13 with Java 1.5.0 : >>> >> PCGen is meant to work with Java 1.4.x. Try >> removing 1.5 and using the latest 1.4.x line. >> > Ok, It's not the latest but it's the 1.4.2_05 and I get > the same result. > >>> When I load 2 or more Characters and I go to >>> the "Page 2" tab in the Preview tab I get the same >>> page for both the characters (same means same >>> equip, same feats etc). >>> >>> Yesterday evening I've got an infernal D&d session >>> because of to see the "Page 2" for each character I >>> had to restart PCGen, loading just one character at >>> a time. === Paul W. King TM SB, OGL/PL Chimp, Data Gibbon, BoD ---------------------------------------------------------------------- Comment By: Paul W. King (kingpaul) Date: 2005-01-19 12:43 Message: Logged In: YES user_id=277877 From email to the main group: Hi all I'm writing this lines hoping to help fixing bug 1102261 opened by me. plugin.charactersheet.gui.PagePanel2 : public void setPc(PlayerCharacter pc, Properties pcProperties) { this.pc = pc; this.pcProperties = pcProperties; equipmentPane.setPc(pc); weightPane.setPc(pc); updateBuffer(); } Should became (taken from plugin.charactersheet.gui.PagePanel1): public void setPc(PlayerCharacter pc, Properties pcProperties) { if(this.pc != pc) { this.pc = pc; serial = 0; this.pcProperties = pcProperties; equipmentPane.setPc(pc); weightPane.setPc(pc); updateBuffer(); } } Because otherwise the serial is not resetted, so the character with the highest one always wins :-) I have no auth to upload to the cvs so some code monkey shold fix the code. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1102261&group_id=25576 |