diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 04:00:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 04:00:55 +0400 |
commit | 9c262e5649303eff26e7645079185c250e4420ff (patch) | |
tree | a86bdedcd6b70cf020f7ecf254c7f3b53695b678 /source/blender/editors/space_image | |
parent | d305df2226ccdf371d127d1c4f39690042f483bd (diff) |
Code Cleanup: style comments
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 4 |
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)); } } |