previous commit didnt build - add back enum and note that its a copy because of linking error

This commit is contained in:
Campbell Barton
2012-05-26 00:41:11 +00:00
parent c904f5363d
commit 49b6867e0c
2 changed files with 11 additions and 1 deletions

View File

@@ -107,6 +107,17 @@
#include "object_intern.h"
/* this is an exact copy of the define in rna_lamp.c
* kept here because of linking order */
EnumPropertyItem lamp_type_items[] = {
{LA_LOCAL, "POINT", 0, "Point", "Omnidirectional point light source"},
{LA_SUN, "SUN", 0, "Sun", "Constant direction parallel ray light source"},
{LA_SPOT, "SPOT", 0, "Spot", "Directional cone light source"},
{LA_HEMI, "HEMI", 0, "Hemi", "180 degree constant light source"},
{LA_AREA, "AREA", 0, "Area", "Directional area light source"},
{0, NULL, 0, NULL, NULL}
};
/************************** Exported *****************************/
void ED_object_location_from_view(bContext *C, float *loc)

View File

@@ -1809,7 +1809,6 @@ static void vgroup_active_remove_verts(Object *ob, const int allverts, bDeformGr
}
else {
MVert *mv;
MDeformVert *dv;
int i;
if (!me->dvert) {