Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-11-25 04:00:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-25 04:00:55 +0400
commit9c262e5649303eff26e7645079185c250e4420ff (patch)
treea86bdedcd6b70cf020f7ecf254c7f3b53695b678 /source/blender/editors/space_image
parentd305df2226ccdf371d127d1c4f39690042f483bd (diff)
Code Cleanup: style comments
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/image_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index 58d835b0d2f..401c0a4b6a4 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -1793,8 +1793,8 @@ static int image_new_exec(bContext *C, wmOperator *op)
Tex *tex = CTX_data_pointer_get_type(C, "texture", &RNA_Texture).data;
if (tex && tex->type == TEX_IMAGE) {
if (tex->ima)
- tex->ima->id.us--; /* Decrease the previous image users count by 1 */
- tex->ima = ima; /* Assign the new image */
+ tex->ima->id.us--;
+ tex->ima = ima;
ED_area_tag_redraw(CTX_wm_area(C));
}
}