diff options
author | Thomas Dinges <blender@dingto.org> | 2011-11-22 21:43:32 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-11-22 21:43:32 +0400 |
commit | 470cfd4aeb010b4a674d27ace3cfffad2ca6c4f0 (patch) | |
tree | 6697e59b74606a4e6e788ff471e7b4adf8a18f29 /source/blender/editors/space_node | |
parent | 5f2c9c660cb24e25fb75d6e186c22472f2bb58c9 (diff) |
2.6 Various code cleanup:
* Removed some old code for image packing, done via Operators now.
* Removed some comments.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 47cfa5c763d..29f67844827 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -1001,7 +1001,6 @@ static void node_shader_buts_attribute(uiLayout *layout, bContext *UNUSED(C), Po static void node_shader_buts_tex_image(uiLayout *layout, bContext *C, PointerRNA *ptr) { - //uiItemR(layout, ptr, "image", 0, "", ICON_NONE); uiTemplateID(layout, C, ptr, "image", NULL, "IMAGE_OT_open", NULL); uiItemR(layout, ptr, "color_space", 0, "", ICON_NONE); } @@ -1637,10 +1636,9 @@ static void node_composit_buts_file_output(uiLayout *layout, bContext *UNUSED(C) NodeImageFile *nif= node->storage; PointerRNA imfptr; - uiLayout *col, *row; + uiLayout *row; - col= uiLayoutColumn(layout, 0); - uiItemR(col, ptr, "filepath", 0, "", ICON_NONE); + uiItemR(layout, ptr, "filepath", 0, "", ICON_NONE); RNA_pointer_create(NULL, &RNA_ImageFormatSettings, &nif->im_format, &imfptr); uiTemplateImageSettings(layout, &imfptr); |