Commit 0eb073ad authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix mixed case handling in Pyside B mapper

when interacting with a DLL, the name of the interfaces have to respect
the casing set by buildsupport/kazoo:
parent e966238c
......@@ -220,7 +220,7 @@ def setSharedLib(dll=None):
shared_lib = True
{tcName}_via_shared_lib = dll.{fvName}_PI_{tcName}
'''.format(fvName=FVname, tcName=CleanSP))
'''.format(fvName=FVname.lower(), tcName=CleanSP))
g_PyDataModel.write('\ntc["{tcName}"] = '.format(
buttons = ([["sendButton", "Send TC"], ["loadButton", "Load TC"],
......@@ -275,7 +275,7 @@ def setSharedLib(dll=None):
shared_lib = dll
'''.format(tmName=CleanSP, fvName=FVname))
'''.format(tmName=CleanSP, fvName=FVname.lower()))
g_PyDataModel.write('\ntm["{tmName}"] = '.format(tmName=CleanSP))
buttons = ([["plotButton", "Plot"], ["meterButton", "Meter"],
["unusedButton", "Unused"]])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment