From d4e4af52e7da854a350a4b357d81e6ac5f86ed15 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Wed, 21 Jun 2017 11:41:15 -0700 Subject: [PATCH] Changing c-py interface to use 's' instead of 'S' for py 2/3 compatibility; also makes the code simpler. --- src/Mod/Path/App/ToolPy.xml | 2 +- src/Mod/Path/App/TooltablePyImp.cpp | 23 +++++++++++------------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/Mod/Path/App/ToolPy.xml b/src/Mod/Path/App/ToolPy.xml index 647c7aeb3a..58b0b99cf4 100644 --- a/src/Mod/Path/App/ToolPy.xml +++ b/src/Mod/Path/App/ToolPy.xml @@ -88,7 +88,7 @@ HighCarbonToolSteel CastAlloy, Ceramics, Diamond, Sialon or Undefined - fills receiver with values from the template string + fromTemplate(xmlString) ... fills receiver with values from the template string