Archived issue #0023595
XCAFDoc_ShapeTool extended with two methods - SetAutoNaming() and AutoNaming()
Description
Auto-naming is used to auto-generate names for (sub-)shapes. Prior to the fix it was controlled by a pre-processor macro (#define AUTONAMING), which was defined
in XCAFDoc_ShapeTool.cxx. Thus, the XDE document was contaminated with names not present in the original imported files.
The fix makes it a run-time parameter which is on by default, preserving previous behavior. It had to be made a static member function as it is used by other static members.
in XCAFDoc_ShapeTool.cxx. Thus, the XDE document was contaminated with names not present in the original imported files.
The fix makes it a run-time parameter which is on by default, preserving previous behavior. It had to be made a static member function as it is used by other static members.
Steps to reproduce
See enclosed test case
Public activity
3 archived notes
Participants are labeled by their role within this record.
Pushed branch CR23595 into the git repository
Branch CR23595 is ready to be reviewed.
Dear Commenter 1,
Branch CR23595 (and products from GIT master) was compiled on Linux and
Windows platforms and tested.
Regressions:
Not detected
Improvements:
Not detected
Testing cases:
bugs xde(005) bug23595 - OK.
Branch CR23595 (and products from GIT master) was compiled on Linux and
Windows platforms and tested.
Regressions:
Not detected
Improvements:
Not detected
Testing cases:
bugs xde(005) bug23595 - OK.
Related records