Merge pull request #161 from DeepSOIC/Attacher17

Attacher: Py: fix crash on FreeCAD startup
This commit is contained in:
Yorik van Havre 2016-05-14 18:17:40 -03:00
commit bb4c97d51e

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