View Issue Details

IDProjectCategoryView StatusLast Update
0015671Open CASCADEOCCT:Visualizationpublic2012-01-12 13:44
ReportersanAssigned Tosan 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.2.1 
Summary0015671: Mistakes in CDL files
Description1. WNT_PixMap.cdl (reported by VSV)
"alias ~" line disappeared from WNT_PixMap.cdl between OCCT 5.2.2 and 5.2.3
releases. It looks as an error, for there is still WNT_Pixmap::Destroy()
method that performs some GDI resource deallocation but is NEVER called.

All CDL files in WNT package in OCCT5.2.3 has the same modification date - 8
April 2005.
Here is an excerpt from OCCT intergration history for this date:

Report 5191_rep - 08/04/05 22:02 from workbench OCC8524-opt (xxxxx) -----------
-
....

WNT.p (Updated) :
----
Modified : WNT_FontMapEntry.cdl 1.4
Modified : WNT_IconBox.cdl 1.4
Modified : WNT_PixMap.cdl 1.4
Modified : WNT_ImageManager.cdl 1.4
Modified : WNT_GraphicDevice.cdl 1.4
Modified : WNT_TextManager.cdl 1.2
Modified : WNT_DDriver.cdl 1.4
Modified : WNT_WDriver.cdl 1.5
Modified : WNT_Window.cdl 1.10

In Bugtracker we can find the following information about Bug
OCC8524: "Modification of cdl files in order to improve extraction of
description of classes and metods".

Thus, I am 99% sure that lost "alias ~" line resulted from massive CDL
modifications (which are very difficult to check and verify!) and is a mistake.

2. Graphic3d_MaterialAspect.cdl
Comment to SetTransparency() method should be improved: currently, it does not
mention the fact that it is necessary also to enable transparency in
Visual3d_ViewManager eitehr directly or indirectly (by calling
AIS_InteractiveObject::SetTransparency() BEFORE displaying an object or by
calling AIS_InteractiveContext::SetTransparency() for a displayed object).
Additional information
and documentation updates
Documentation remark, added by SAN 2007-04-19 10:54:30:

Changes:
Mistakes in WNT_PixMap.cdl and Graphic3d_MaterialAspect.cdl corrected
Modified entities:
WNT:

WNT_PixMap.cdl - Destroy () method: "C++: alias ~" line lost in OCCT5.2.3
release restored

Graphic3d:

Graphic3d_MaterialAspect.cdl - detailed comment added for SetTransparency()
method
TagsNo tags attached.
Test case number

Attached Files

  • san-OCC15671-v1.tar.gz (3,954 bytes)

Activities

2007-04-19 10:51

 

san-OCC15671-v1.tar.gz (3,954 bytes)

Issue History

Date Modified Username Field Change
2007-04-19 12:52 san CC => szy
2007-04-19 12:55 san CC => nkv
2007-04-19 14:20 bugmaster Status new => resolved
2007-04-19 14:21 bugmaster Assigned To bugmaster => san
2007-04-19 14:21 bugmaster Status resolved => assigned
2007-04-19 14:21 bugmaster Status assigned => resolved
2007-07-04 12:18 bugmaster Status resolved => tested
2007-07-27 17:26 bugmaster Status tested => verified
2009-06-23 18:33 bugmaster Status verified => closed
2009-06-23 18:33 bugmaster Resolution @0@ => fixed
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2012-01-12 13:44 atp Description Updated
2012-01-12 13:44 atp Additional Information Updated