Display only templates not visible in UI

Description

From Sir George Anonymous:

I have a character that I added a template to. The template has VISIBLEISPLAY and there is no REMOVABLE tag which should default to REMOVABLE:YES.

After saving the character, closing and restarting PCGen, and reloading the character, the template no longer shows up in the window of applied templates, so I can't remove it. Attempting to add the template causes PCGen to tell me that the template has already been applied.

Environment

None

Activity

Show:
James Dempsey
December 4, 2013, 3:37 AM

UI was showing output templates, not display templates. Fixed.

James Dempsey
December 9, 2013, 4:14 PM

From Sir George Anonymous:

I am testing the bug fix for templates in RC1. Previously (6.1.10), when a saved character was loaded, none of the VISIBLEISPLAY templates that were saved with the character dispalyed in the PCGen GUI and could thus be removed. The issue is only partially resolved.

I loaded a character with a saved VISIBLEISPLAY template. The templated appeared in the GUI. Then I added a template that was VISIBLE:YES to the character. The VISIBLEISPLAY template disappeared from the GUI.

That is not the only thing that is now broken in templates. I have a series of polymorphing templates that I can add to a character as necessary. Each template represents a specific creature the character can change into. Each has the tag BONUS:VAR|Polymorphed|1 on it so that I know when the character has one of these templates applied, and so that a second polymorphing template cannot be applied. I can add a template, export the character, and remove the template. Unfortunately, as of RC1, after removing the polymorphing template the character does not qualify for any of the polymorphing templates (even the one that was just removed). The only way that I can export multiple versions of the character with different templates is to close and reopen PCGen for each version of the character to be exported.

James Dempsey
December 9, 2013, 4:21 PM

I'd missed the refresh which was still looking at the output visible templates, that's fixed now. I've also added a recalc after removal which sorts out the variables affected by the now removed templates.

Assignee

James Dempsey

Reporter

James Dempsey

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure