[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-09-12 13:03:02 +00:00
committed by WandererFan
parent c469601f95
commit 222a2520b1
435 changed files with 2669 additions and 2645 deletions

View File

@@ -40,7 +40,7 @@ PyMODINIT_FUNC FreeCAD_init()
/* A test function for the plugin to load a mesh and call "getVal()" */
PyMODINIT_FUNC FreeCAD_test(const char* path)
{
try {// Use FreeCADGui here, not Gui
try { // Use FreeCADGui here, not Gui
Base::Interpreter().runString("FreeCADGui.activateWorkbench(\"MeshWorkbench\")");
Base::Interpreter().runString("import Mesh");
Base::Interpreter().runStringArg("Mesh.insert(u\"%s\", \"%s\")", path, "Document");