1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Coding - Isolate long attached comments for clang-format #259

Automatically update code with clang-format disabling for avoiding formatting.
You can check the python script in GitHub PR
This commit is contained in:
dpasukhi
2025-01-16 20:15:29 +00:00
parent 9a6854774d
commit f91655b0c5
475 changed files with 1380 additions and 8 deletions

View File

@@ -72,12 +72,14 @@ protected:
virtual ~IVtkTools_DisplayModeFilter();
protected:
// clang-format off
IVtk_DisplayMode myDisplayMode; //!< Display mode defining mesh types to pass through this filter
IVtk_IdTypeMap myModesDefinition[2];
bool myDoDisplaySharedVertices;
bool myDrawFaceBoundaries; //!< Draw Face boundaries within shading display mode
bool myIsSmoothShading; //!< include vertex normals for smooth shading or not
// clang-format on
};
#ifdef _MSC_VER

View File

@@ -66,7 +66,9 @@ namespace
theDst->GetPointData()->SetNormals (aNewNormals);
}
// clang-format off
vtkSmartPointer<vtkIdList> aPntMap = vtkSmartPointer<vtkIdList>::New(); // maps old pt ids into new
// clang-format on
aPntMap->SetNumberOfIds (aNbPts);
for (vtkIdType i = 0; i < aNbPts; ++i)
{