Cleanup: style
[blender.git] / source / blender / draw / engines / workbench / workbench_forward.c
index 01e10bbefbeabae4d5a6ffc87ac609a4770888c8..13821e0e57e6e7cae1194788b390eea80e046b8c 100644 (file)
@@ -180,7 +180,7 @@ static WORKBENCH_MaterialData *get_or_create_material_data(
 
        /* Solid */
        workbench_material_update_data(wpd, ob, mat, &material_template);
-       material_template.object_id = OBJECT_ID_PASS_ENABLED(wpd)? engine_object_data->object_id: 1;
+       material_template.object_id = OBJECT_ID_PASS_ENABLED(wpd) ? engine_object_data->object_id : 1;
        material_template.drawtype = drawtype;
        material_template.ima = ima;
        uint hash = workbench_material_get_hash(&material_template);