Cleanup: Clang tidy, unused variabel warnings
This commit is contained in:
parent
2887df119c
commit
c824c06f38
|
@ -432,7 +432,7 @@ void BKE_object_eval_constraints(struct Depsgraph *depsgraph,
|
|||
struct Object *ob);
|
||||
void BKE_object_eval_transform_final(struct Depsgraph *depsgraph, struct Object *ob);
|
||||
|
||||
void BKE_object_eval_uber_transform(struct Depsgraph *depsgraph, struct Object *ob);
|
||||
void BKE_object_eval_uber_transform(struct Depsgraph *depsgraph, struct Object *object);
|
||||
void BKE_object_eval_uber_data(struct Depsgraph *depsgraph,
|
||||
struct Scene *scene,
|
||||
struct Object *ob);
|
||||
|
|
|
@ -304,7 +304,6 @@ void BKE_object_sync_to_original(Depsgraph *depsgraph, Object *object)
|
|||
|
||||
void BKE_object_eval_uber_transform(Depsgraph *UNUSED(depsgraph), Object *UNUSED(object))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void BKE_object_data_batch_cache_dirty_tag(ID *object_data)
|
||||
|
|
|
@ -2117,6 +2117,7 @@ static bool pchan_culling_test_envelope(const DRWView *view,
|
|||
{
|
||||
const bArmature *arm = ob->data;
|
||||
BLI_assert(arm->drawtype == ARM_ENVELOPE);
|
||||
UNUSED_VARS_NDEBUG(arm);
|
||||
BoundSphere bsphere;
|
||||
pchan_culling_calc_bsphere(ob, pchan, &bsphere);
|
||||
bsphere.radius += max_ff(pchan->bone->rad_head, pchan->bone->rad_tail) *
|
||||
|
@ -2130,6 +2131,7 @@ static bool pchan_culling_test_bbone(const DRWView *view,
|
|||
{
|
||||
const bArmature *arm = ob->data;
|
||||
BLI_assert(arm->drawtype == ARM_B_BONE);
|
||||
UNUSED_VARS_NDEBUG(arm);
|
||||
const float ob_scale = mat4_to_size_max_axis(ob->obmat);
|
||||
const Mat4 *bbones_mat = (const Mat4 *)pchan->draw_data->bbone_matrix;
|
||||
for (int i = pchan->bone->segments; i--; bbones_mat++) {
|
||||
|
|
Loading…
Reference in New Issue