Assembly: Fix bug by replacing const char* by std::string for variables that need to be swapped.

This commit is contained in:
PaddleStroke
2024-06-11 12:11:16 +02:00
parent d0264d6bb0
commit 9fad901fa8
2 changed files with 9 additions and 9 deletions

View File

@@ -235,8 +235,8 @@ public:
static void swapJCS(App::DocumentObject* joint);
static bool isEdgeType(App::DocumentObject* obj, const char* elName, GeomAbs_CurveType type);
static bool isFaceType(App::DocumentObject* obj, const char* elName, GeomAbs_SurfaceType type);
static bool isEdgeType(App::DocumentObject* obj, std::string& elName, GeomAbs_CurveType type);
static bool isFaceType(App::DocumentObject* obj, std::string& elName, GeomAbs_SurfaceType type);
static double getFaceRadius(App::DocumentObject* obj, const char* elName);
static double getEdgeRadius(App::DocumentObject* obj, const char* elName);