DiscussionsIssue archiveOCCT:Visualization

Archived issue #0023385

Bug in AIS_TexturedShape::Compute()

CommunityOCCT:Visualizationclosed3 public notes

Search issues

Description

This issue comes from OCCT forum thread:
http://www.opencascade.org/org/forum/thread_23579/

There is a regression in AIS_TextureShape::Compute() after correction of #0022971: nothing is drawn in shading display mode.

Steps to reproduce

pload ALL
vinit

restore D:/work/OCC/work/ros/samples/mfc/standard/04_Viewer3d/Data/bottle.brep b
explode b F
vdisplay b_16
vtexture b_16 D:/work/OCC/work/ros/carrelage1.gif
vtexrepeat b_16 3 2
# the textured face should appear in shading here but nothing is drawn
vsetdispmode b_16 1
vfit

Additional information

The mistake in AIS_TexturedShape::Compute() resulted in missing shading mode representation corrected.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Branch CR23385 ready for reviewing.
02Commenter 2
Reviewed without any remarks.

Dear Commenter 1, please test the branch.
03Commenter 3
Dear Commenter 1,
Branch CR23385 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Regression:
Not detected

Improvements:
Not detected

Testing case:
chl 935 G0

Related records