MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #23474 All Revisions ] Back to Issue ]
Summary 0023474: Changing material/color/transparency of a shaded AIS_Shape requires 'Redisplay'
Revision 2012-10-16 17:42 by Pawel
Description I've been testing the feature introduced in 23407 (Draw face outlines for XDE objects) and I spotted the following problem: When drawing face outlines of AIS_Shapes:

AIS_InteractiveContext::DefaultDrawer()->SetFaceBoundaryDraw(Standard_True)

The method AIS_Shape::SetMaterial(const Graphic3d_MaterialAspect& aMat) did not update the presentation for shaded presentation (in other words the material was not updated after setting it). I needed to call AIS_InteractiveContext::Redisplay on the corresponding object for the change to take effect.
Revision 2012-10-16 14:37 by Pawel
Description I've been testing the feature introduced in 23407 and I spotted the following problem: When drawing face outlines of AIS_Shapes:

AIS_InteractiveContext::DefaultDrawer()->SetFaceBoundaryDraw(Standard_True)

The method AIS_Shape::SetMaterial(const Graphic3d_MaterialAspect& aMat) did not update the presentation for shaded presentation (in other words the material was not updated after setting it). I needed to call AIS_InteractiveContext::Redisplay on the corresponding object for the change to take effect.


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker