MantisBT - Open CASCADE
View Issue Details
0031088Open CASCADE[OCCT] OCCT:Visualizationpublic2019-10-20 13:542019-11-10 11:42
kgv 
apn 
normaltrivial 
verifiedfixed 
[OCCT] 7.4.0 
[OCCT] 7.5.0* 
0031088: Visualization - GL_INVALID_ENUM while dumping view within OpenGL 1.1
Dumping view with a marker fails on OpenGL 1.1.

Note that bug in code has not been introduced by OCCT 7.4.0, so that the issue was accidentally covered up by some other place in 3D Viewer resetting OpenGL errors.
pload VISUALIZATION
vcaps -softMode 1
vclear
vinit View1
vpoint p0 0 0 0
vdump ggg.png

Result:
Warning, on screen buffer is used for image dump - content might be invalid
TKOpenGl | Type: Other | ID: 0 | Severity: Low | Message:
  Unhandled GL error: GL_INVALID_ENUM
Fail: view dump failed!
No tags attached.
Issue History
2019-10-20 13:54kgvNew Issue
2019-10-20 13:54kgvAssigned To => kgv
2019-10-20 14:14gitNote Added: 0088362
2019-10-20 14:20kgvSeverityminor => trivial
2019-10-20 14:20kgvDescription Updatedbug_revision_view_page.php?rev_id=22089#r22089
2019-10-20 14:20kgvAssigned Tokgv => bugmaster
2019-10-20 14:20kgvStatusnew => resolved
2019-10-20 14:20kgvStatusresolved => reviewed
2019-10-28 01:51apnChangeset attached => occt master 97e0059b
2019-10-28 01:51apnAssigned Tobugmaster => apn
2019-10-28 01:51apnStatusreviewed => verified
2019-10-28 01:51apnResolutionopen => fixed
2019-11-10 11:42gitNote Added: 0088865

Notes
(0088362)
git   
2019-10-20 14:14   
Branch CR31088 has been created by kgv.

SHA-1: f06ad3cf7193926f1b5b94d08782da6e0f8222f7


Detailed log of new commits:

Author: kgv
Date: Sun Oct 20 14:13:46 2019 +0300

    0031088: Visualization - GL_INVALID_ENUM while dumping view within OpenGL 1.1
    
    OpenGl_Sampler::resetGlobalTextureParams() - added missing version check before disabling GL_POINT_SPRITE.
(0088865)
git   
2019-11-10 11:42   
Branch CR31088 has been deleted by inv.

SHA-1: f06ad3cf7193926f1b5b94d08782da6e0f8222f7