View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015797VTK(No Category)public2015-10-21 11:582016-05-13 17:06
ReporterCory Quammen 
Assigned ToCory Quammen 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.3.0 
Target VersionFixed in Version7.1.0 
Summary0015797: Text caching mechanism in vtkOpenGLContextDevice2DPrivate fails if just shadow property changes
DescriptionEnabling/disabling text shadow in a vtkTextProperty fails to invalidate cache entries in the vtkTextureImageCache.

The problem is that the shadow property state is not included as part of the hashing for vtkTextProperty instances.
TagsNo tags attached.
ProjectSandia
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0035954)
Cory Quammen (developer)
2016-05-13 17:06

Fixed in commit

commit 1d91f9bad3f7d325a7a28b1441afe5f311252fb8
Author: Cory Quammen <cory.quammen@kitware.com>
Date: Wed Oct 21 13:14:50 2015 -0400

    BUG 15797: Fix text property ID computation
    
    Only a few settings defined by the vtkTextProperty were used to
    compute the text property ID in MapTextPropertyToId(). This can cause
    incorrect rendering when settings that weren't considered, such as the
    shadow setting, were changed.
    
    Added a more general hashing function, HashBuffer(), to accommodate
    all the vtkTextProperty settings, and use this to compute the
    vtkTextProperty hash. HashString() is no longer used, but remains for
    backwards compatibility.
    
    Added a test to ensure that changing a setting results in the
    computation of a different ID.

 Issue History
Date Modified Username Field Change
2015-10-21 11:58 Cory Quammen New Issue
2015-10-21 11:58 Cory Quammen Assigned To => Cory Quammen
2016-05-13 17:06 Cory Quammen Note Added: 0035954
2016-05-13 17:06 Cory Quammen Status backlog => closed
2016-05-13 17:06 Cory Quammen Resolution open => fixed
2016-05-13 17:06 Cory Quammen Fixed in Version => 7.1.0


Copyright © 2000 - 2018 MantisBT Team