Cleanup: trailing space

This commit is contained in:
2018-05-03 07:22:04 +02:00
parent 7840c593b8
commit d9f4ce617b
3 changed files with 4 additions and 4 deletions

View File

@@ -49,4 +49,4 @@ vec3 linearrgb_to_srgb(vec3 rgb) {
linear_to_srgb(rgb.g),
linear_to_srgb(rgb.b)
);
}
}

View File

@@ -380,7 +380,7 @@ void workbench_materials_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob
if (ob->type == OB_MESH) {
workbench_cache_populate_particles(vedata, props, ob);
}
WORKBENCH_MaterialData *material;
if (ELEM(ob->type, OB_MESH, OB_CURVE, OB_SURF, OB_FONT)) {
const DRWContextState *draw_ctx = DRW_context_state_get();
@@ -399,7 +399,7 @@ void workbench_materials_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob
DRW_shgroup_call_object_add(material->shgrp, geom, ob);
}
}
}
}
else { /* MATERIAL colors */
const int materials_len = MAX2(1, (is_sculpt_mode ? 1 : ob->totcol));
struct GPUMaterial **gpumat_array = BLI_array_alloca(gpumat_array, materials_len);

View File

@@ -293,7 +293,7 @@ static void drw_shgroup_bone_envelope_head_wire(
if (g_data.bone_point_wire == NULL) {
g_data.bone_point_wire = shgroup_instance_bone_sphere_outline(g_data.pass_bone_wire);
}
float head_sphere[4] = {0.0f, 0.0f, 0.0f, 1.0f}, tail_sphere[4] = {0.0f, 1.0f, 0.0f, 1.0f};
float final_bonemat[4][4];
mul_m4_m4m4(final_bonemat, g_data.ob->obmat, bone_mat);