Cleanup: style

This commit is contained in:
2018-09-08 07:02:58 +10:00
parent 5e942f459f
commit aa6c9ca899
3 changed files with 3 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ IDDepsNode *DepsgraphNodeBuilder::add_id_node(ID *id)
IDInfo *id_info = (IDInfo *)BLI_ghash_lookup(id_info_hash_, id);
if (id_info != NULL) {
id_cow = id_info->id_cow;
is_previous_visible= id_info->is_visible;
is_previous_visible = id_info->is_visible;
/* Tag ID info to not free the CoW ID pointer. */
id_info->id_cow = NULL;
}

View File

@@ -724,7 +724,7 @@ static void shader_preview_updatejob(void *spv)
}
/* Renders texture directly to render buffer. */
static void shader_preview_texture(ShaderPreview *sp, Tex *tex, Scene* sce, Render *re)
static void shader_preview_texture(ShaderPreview *sp, Tex *tex, Scene *sce, Render *re)
{
/* Setup output buffer. */
int width = sp->sizex;

View File

@@ -1887,7 +1887,7 @@ static int uv_remove_doubles_to_selected(bContext *C, wmOperator *op)
continue;
}
mul_v2_fl(mloopuv_arr[i]->uv, 1.0f/(float)uv_duplicate_count[i]);
mul_v2_fl(mloopuv_arr[i]->uv, 1.0f / (float)uv_duplicate_count[i]);
}
MEM_freeN(uv_duplicate_count);