Cleanup: trailing space
This commit is contained in:
@@ -49,4 +49,4 @@ vec3 linearrgb_to_srgb(vec3 rgb) {
|
||||
linear_to_srgb(rgb.g),
|
||||
linear_to_srgb(rgb.b)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user