View Issue Details

IDProjectCategoryView StatusLast Update
0002663FSSCPHUDpublic2012-07-02 01:15
ReporterMjnMixael Assigned ToCommanderDJ  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.14 RC5 
Summary0002663: hud-set-color only works once per mission
DescriptionWhat the topic says..

If I set the color of a gauge at any time in the mission, I can't change it later. Ever.
Steps To ReproducePlay the test mission on retail assets.
TagsNo tags attached.

Activities

MjnMixael

2012-06-08 04:24

manager  

ColorTest.7z (33,959 bytes)

CommanderDJ

2012-06-08 14:28

developer  

mantis_2663.patch (392 bytes)   
Index: code/parse/sexp.cpp
===================================================================
--- code/parse/sexp.cpp	(revision 8845)
+++ code/parse/sexp.cpp	(working copy)
@@ -9515,6 +9515,7 @@
 
 	HudGauge* cg = hud_get_gauge(gaugename);
 	if(cg) {
+		cg->sexpLockConfigColor(false);
 		cg->updateColor(red, green, blue, (HUD_color_alpha+1)*16);
 		cg->sexpLockConfigColor(true);
 	}
mantis_2663.patch (392 bytes)   

CommanderDJ

2012-06-08 14:37

developer   ~0013639

Fix uploaded. Tested by both MjnMixael and myself.

The_E

2012-06-08 14:45

administrator   ~0013640

Fix committed to trunk@8847.

Zacam

2012-07-02 01:15

administrator   ~0013764

Fix committed to fs2_open_3_6_14@8949.

Related Changesets

fs2open: trunk r8847

2012-06-08 10:45

The_E


Ported: N/A

Details Diff
From CommanderDJ: Fix for Mantis 2663 (hud-set-color only works once per mission) Affected Issues
0002663
mod - /trunk/fs2_open/code/parse/sexp.cpp Diff File

fs2open: fs2_open_3_6_14 r8949

2012-07-01 21:16

Zacam


Ported: N/A

Details Diff
Backport: Trunk r8847; From CommanderDJ: Fix for Mantis 2663 (hud-set-color only works once per mission) Affected Issues
0002663
mod - /branches/fs2_open_3_6_14/code/parse/sexp.cpp Diff File

Issue History

Date Modified Username Field Change
2012-06-08 04:24 MjnMixael New Issue
2012-06-08 04:24 MjnMixael File Added: ColorTest.7z
2012-06-08 14:24 CommanderDJ Assigned To => CommanderDJ
2012-06-08 14:24 CommanderDJ Status new => assigned
2012-06-08 14:28 CommanderDJ File Added: mantis_2663.patch
2012-06-08 14:37 CommanderDJ Note Added: 0013639
2012-06-08 14:37 CommanderDJ Status assigned => code review
2012-06-08 14:45 The_E Changeset attached => fs2open trunk r8847
2012-06-08 14:45 The_E Note Added: 0013640
2012-06-08 14:45 The_E Status code review => resolved
2012-06-08 14:45 The_E Resolution open => fixed
2012-07-02 01:15 Zacam Changeset attached => fs2open fs2_open_3_6_14 r8949
2012-07-02 01:15 Zacam Note Added: 0013764