Core: Enable compiling with MSVC /permissive- (#11014)
* Base: Fixes for MSVC permissive- * App: Fixes for MSVC permissive- * Gui: Fixes for MSVC permissive- * Main: Fixes for MSVC permissive- * Fem: Fixes for MSVC permissive- * Material: Fixes for MSVC permissive- * Part: Fixes for MSVC permissive- * Mesh: Fixes for MSVC permissive- * Points: Fixes for MSVC permissive- * Robot: Fixes for MSVC permissive- * TechDraw: Fixes for MSVC permissive- * Path: Fixes for MSVC permissive- * Core; Changes per review comments * TD: Revision from wandererfan * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -795,9 +795,9 @@ PyObject* BSplineCurvePy::approximate(PyObject *args, PyObject *kwds)
|
||||
Standard_Integer degMin = 3;
|
||||
Standard_Integer degMax = 8;
|
||||
Standard_Integer segMax = 8;
|
||||
char *continuity = "C2";
|
||||
const char *continuity = "C2";
|
||||
double tol3d = 1e-3;
|
||||
char *parType = "ChordLength";
|
||||
const char *parType = "ChordLength";
|
||||
PyObject *par = nullptr;
|
||||
double weight1 = 0;
|
||||
double weight2 = 0;
|
||||
|
||||
Reference in New Issue
Block a user