Fix #19389: add lamp had no submenu to choose the type.
[blender.git] / source / blender / editors / object / object_ops.c
index fdfe6ed501c2165bb7401993f2bfea19648bf408..a9b4bfe68dd8f0b1b25a6c0fa0341cafcf6ef072 100644 (file)
@@ -115,6 +115,7 @@ void ED_operatortypes_object(void)
        WM_operatortype_append(OBJECT_OT_text_add);
        WM_operatortype_append(OBJECT_OT_surface_add);
        WM_operatortype_append(OBJECT_OT_armature_add);
+       WM_operatortype_append(OBJECT_OT_lamp_add);
        WM_operatortype_append(OBJECT_OT_add);
        WM_operatortype_append(OBJECT_OT_primitive_add);
        WM_operatortype_append(OBJECT_OT_mesh_add);