[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
WandererFan
parent
c469601f95
commit
222a2520b1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user