2024-04-18 22:37 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001724Spring engineGeneralpublic2010-05-12 23:05
ReporterSirMaverick 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.5 
Target VersionFixed in Version0.81.0.0+git 
Summary0001724: featureVisibility = 0 shows features
DescriptionfeatureVisibility is set to 0 (modrules.lua, featureLOS)

When you have LOS they are visible, highlighted (widget), info is shown in tooltip, area reclaim works.

But when you have no more LOS. They are not highlighted nor shown in tooltip, area reclaim does not work. So far so good, but some are still visible.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004303

Kloot (developer)

Last edited: 2009-11-11 12:36

Maybe some of the features have alwaysVisible set to true?

~0004304

SirMaverick (reporter)

I used CA to test this, but I'm not aware that some features are set that way.

If I force alwaysVisible to true to all created features, then all are visible, even with featureVisibility = 0. In this case they behave like featureVisibility = 3 (you see them without los, you have tooltip and area reclaim works without los).

This does not explain the reported problem.

~0004305

Kloot (developer)

The point was that if (somewhere in the mountain of CA gadget code) features were being set to alwaysVisible you would see them regardless of featureVisibilty; I just hadn't realized the tooltip would also be shown then. I'll look at this further.

~0004908

SirMaverick (reporter)

Tested with master (0.81.0-813-g019c1af).

featureVisibility 0 or 1: Feature stay visible when you lose LOS. They disappear when you move camera out and come back.

~0004911

SirMaverick (reporter)

Does not happen when camera is outside at the time you lose LOS.
+Notes

-Issue History
Date Modified Username Field Change
2009-11-10 21:04 SirMaverick New Issue
2009-11-10 21:05 SirMaverick File Added: feature.jpg
2009-11-11 12:34 Kloot Note Added: 0004303
2009-11-11 12:34 Kloot Status new => feedback
2009-11-11 12:34 Kloot Note Edited: 0004303
2009-11-11 12:36 Kloot Note Edited: 0004303
2009-11-11 15:48 SirMaverick Note Added: 0004304
2009-11-11 18:21 Kloot Note Added: 0004305
2010-05-12 21:23 SirMaverick File Added: feature2.jpg
2010-05-12 21:39 SirMaverick Note Added: 0004908
2010-05-12 22:45 Kloot Status feedback => confirmed
2010-05-12 22:46 SirMaverick Note Added: 0004911
2010-05-12 23:05 Kloot Status confirmed => resolved
2010-05-12 23:05 Kloot Fixed in Version => 0.81.0.0+git
2010-05-12 23:05 Kloot Resolution open => fixed
2010-05-12 23:05 Kloot Assigned To => Kloot
+Issue History