Cleanup: warnings
This commit is contained in:
parent
84906d47dc
commit
3bdf1c11fb
|
@ -2284,7 +2284,7 @@ void BKE_sculpt_bvh_update_from_ccg(PBVH *pbvh, SubdivCCG *subdiv_ccg)
|
|||
subdiv_ccg->grid_hidden);
|
||||
}
|
||||
|
||||
bool BKE_sculptsession_use_pbvh_draw(const Object *ob, const View3D *v3d)
|
||||
bool BKE_sculptsession_use_pbvh_draw(const Object *ob, const View3D *UNUSED(v3d))
|
||||
{
|
||||
SculptSession *ss = ob->sculpt;
|
||||
if (ss == NULL || ss->pbvh == NULL || ss->mode_type != OB_MODE_SCULPT) {
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
#include "ED_image.h"
|
||||
#include "ED_view3d.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
|
|
@ -109,7 +109,7 @@ typedef struct PBVHGPUFormat {
|
|||
bool active_attrs_only;
|
||||
} PBVHGPUFormat;
|
||||
|
||||
PBVHGPUFormat *GPU_pbvh_make_format()
|
||||
PBVHGPUFormat *GPU_pbvh_make_format(void)
|
||||
{
|
||||
PBVHGPUFormat *vbo_id = MEM_callocN(sizeof(PBVHGPUFormat), "PBVHGPUFormat");
|
||||
|
||||
|
|
Loading…
Reference in New Issue