Cleanup: style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user