Attacher: Py: fix crash on FreeCAD startup

This commit is contained in:
DeepSOIC
2016-05-14 23:08:39 +03:00
parent 1c577cd78e
commit 1199a63b2b

View File

@@ -384,6 +384,7 @@ PyMethodDef AttacherGuiPy::Methods[] = {
"getModeStrings(attacher_type, mode_index) - gets mode user-friendly name and brief description."},
{"getRefTypeUserFriendlyName", (PyCFunction) AttacherGuiPy::sGetRefTypeUserFriendlyName, 1,
"getRefTypeUserFriendlyName(type_index) - gets user-friendly name of AttachEngine's shape type."},
{NULL, NULL, 0, NULL} /* Sentinel */
};