Attacher: Py: fix crash on FreeCAD startup

This commit is contained in:
DeepSOIC 2016-05-14 23:08:39 +03:00
parent 5182e196cd
commit c922507f2f

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 */
};