forked from bartvdbraak/blender
Cleanup
This commit is contained in:
parent
ad95cb72bc
commit
52d72a37cd
@ -40,7 +40,6 @@ FIND_PATH(PCRE_INCLUDE_DIR pcre.h
|
||||
${_pcre_SEARCH_DIRS}
|
||||
PATH_SUFFIXES
|
||||
include
|
||||
include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(PCRE_LIBRARY
|
||||
|
@ -127,8 +127,8 @@ static bool ED_object_shape_key_remove(Main *bmain, Object *ob)
|
||||
}
|
||||
else if (rkb->relative >= ob->shapenr) {
|
||||
/* Fix positional shift of the keys when kb is deleted from the list */
|
||||
rkb->relative -= 1;
|
||||
}
|
||||
rkb->relative -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
BLI_remlink(&key->block, kb);
|
||||
|
@ -136,7 +136,7 @@ struct ImBuf *imb_bmp_decode(unsigned char *mem, size_t size, int flags, char co
|
||||
|
||||
colorspace_set_default_role(colorspace, IM_MAX_SPACE, COLOR_ROLE_DEFAULT_BYTE);
|
||||
|
||||
bmp = mem + LITTLE_LONG(*(int*)(mem + 10));
|
||||
bmp = mem + LITTLE_LONG(*(int *)(mem + 10));
|
||||
|
||||
if (CHECK_HEADER_FIELD_BMP(mem)) {
|
||||
/* skip fileheader */
|
||||
|
Loading…
Reference in New Issue
Block a user