From c922507f2f7e2085a5ea19cd77273f6e2833a4c0 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Sat, 14 May 2016 23:08:39 +0300 Subject: [PATCH] Attacher: Py: fix crash on FreeCAD startup --- src/Mod/Part/Gui/AttacherTexts.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Part/Gui/AttacherTexts.cpp b/src/Mod/Part/Gui/AttacherTexts.cpp index 8ffc1a5e3..ed9c3f729 100644 --- a/src/Mod/Part/Gui/AttacherTexts.cpp +++ b/src/Mod/Part/Gui/AttacherTexts.cpp @@ -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 */ };