OLD | NEW |
1 /* | 1 /* |
2 * $Id$ | 2 * $Id$ |
3 * | 3 * |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 4 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or | 6 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version.· | 9 * of the License, or (at your option) any later version.· |
10 * | 10 * |
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1213 static void node_composit_buts_bilateralblur(uiLayout *layout, bContext *UNUSED(
C), PointerRNA *ptr) | 1213 static void node_composit_buts_bilateralblur(uiLayout *layout, bContext *UNUSED(
C), PointerRNA *ptr) |
1214 {······· | 1214 {······· |
1215 uiLayout *col; | 1215 uiLayout *col; |
1216 ········ | 1216 ········ |
1217 col= uiLayoutColumn(layout, 1); | 1217 col= uiLayoutColumn(layout, 1); |
1218 uiItemR(col, ptr, "iterations", 0, NULL, ICON_NONE); | 1218 uiItemR(col, ptr, "iterations", 0, NULL, ICON_NONE); |
1219 uiItemR(col, ptr, "sigma_color", 0, NULL, ICON_NONE); | 1219 uiItemR(col, ptr, "sigma_color", 0, NULL, ICON_NONE); |
1220 uiItemR(col, ptr, "sigma_space", 0, NULL, ICON_NONE); | 1220 uiItemR(col, ptr, "sigma_space", 0, NULL, ICON_NONE); |
1221 } | 1221 } |
1222 | 1222 |
| 1223 static void node_composit_buts_basrelief(uiLayout *layout, bContext *UNUSED(C),
PointerRNA *ptr) |
| 1224 { |
| 1225 uiLayout *col; |
| 1226 |
| 1227 col= uiLayoutColumn(layout, 0); |
| 1228 uiItemR(col, ptr, "silhouette_threshold", 0, NULL, ICON_NONE); |
| 1229 uiItemR(col, ptr, "silhouette_scale", 0, NULL, ICON_NONE); |
| 1230 uiItemR(col, ptr, "iterations", 0, NULL, ICON_NONE); |
| 1231 uiItemR(col, ptr, "use_silhouette_recover", 0, NULL, ICON_NONE); |
| 1232 } |
| 1233 |
1223 static void node_composit_buts_defocus(uiLayout *layout, bContext *UNUSED(C), Po
interRNA *ptr) | 1234 static void node_composit_buts_defocus(uiLayout *layout, bContext *UNUSED(C), Po
interRNA *ptr) |
1224 { | 1235 { |
1225 uiLayout *sub, *col; | 1236 uiLayout *sub, *col; |
1226 ········ | 1237 ········ |
1227 col= uiLayoutColumn(layout, 0); | 1238 col= uiLayoutColumn(layout, 0); |
1228 uiItemL(col, "Bokeh Type:", ICON_NONE); | 1239 uiItemL(col, "Bokeh Type:", ICON_NONE); |
1229 uiItemR(col, ptr, "bokeh", 0, "", ICON_NONE); | 1240 uiItemR(col, ptr, "bokeh", 0, "", ICON_NONE); |
1230 uiItemR(col, ptr, "angle", 0, NULL, ICON_NONE); | 1241 uiItemR(col, ptr, "angle", 0, NULL, ICON_NONE); |
1231 | 1242 |
1232 uiItemR(layout, ptr, "use_gamma_correction", 0, NULL, ICON_NONE); | 1243 uiItemR(layout, ptr, "use_gamma_correction", 0, NULL, ICON_NONE); |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1816 case CMP_NODE_HUECORRECT: | 1827 case CMP_NODE_HUECORRECT: |
1817 ntype->uifunc=node_composit_buts_huecorrect; | 1828 ntype->uifunc=node_composit_buts_huecorrect; |
1818 break; | 1829 break; |
1819 case CMP_NODE_ZCOMBINE: | 1830 case CMP_NODE_ZCOMBINE: |
1820 ntype->uifunc=node_composit_buts_zcombine; | 1831 ntype->uifunc=node_composit_buts_zcombine; |
1821 break; | 1832 break; |
1822 case CMP_NODE_COMBYCCA: | 1833 case CMP_NODE_COMBYCCA: |
1823 case CMP_NODE_SEPYCCA: | 1834 case CMP_NODE_SEPYCCA: |
1824 ntype->uifunc=node_composit_buts_ycc; | 1835 ntype->uifunc=node_composit_buts_ycc; |
1825 break; | 1836 break; |
| 1837 case CMP_NODE_BASRELIEF: |
| 1838 ntype->uifunc= node_composit_buts_basrelief; |
| 1839 break; |
1826 } | 1840 } |
1827 if (ntype->uifuncbut == NULL) ntype->uifuncbut = ntype->uifunc; | 1841 if (ntype->uifuncbut == NULL) ntype->uifuncbut = ntype->uifunc; |
1828 | 1842 |
1829 } | 1843 } |
1830 | 1844 |
1831 /* ****************** BUTTON CALLBACKS FOR TEXTURE NODES ***************** */ | 1845 /* ****************** BUTTON CALLBACKS FOR TEXTURE NODES ***************** */ |
1832 | 1846 |
1833 static void node_texture_buts_bricks(uiLayout *layout, bContext *UNUSED(C), Poin
terRNA *ptr) | 1847 static void node_texture_buts_bricks(uiLayout *layout, bContext *UNUSED(C), Poin
terRNA *ptr) |
1834 { | 1848 { |
1835 uiLayout *col; | 1849 uiLayout *col; |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2577 }······························· | 2591 }······························· |
2578 else { | 2592 else { |
2579 th_col1 = TH_REDALERT; | 2593 th_col1 = TH_REDALERT; |
2580 } | 2594 } |
2581 } | 2595 } |
2582 } | 2596 } |
2583 ········ | 2597 ········ |
2584 node_draw_link_bezier(v2d, snode, link, th_col1, do_shaded, th_col2, do_
triple, th_col3); | 2598 node_draw_link_bezier(v2d, snode, link, th_col1, do_shaded, th_col2, do_
triple, th_col3); |
2585 // node_draw_link_straight(v2d, snode, link, th_col1, do_shaded, th_col2, d
o_triple, th_col3); | 2599 // node_draw_link_straight(v2d, snode, link, th_col1, do_shaded, th_col2, d
o_triple, th_col3); |
2586 } | 2600 } |
OLD | NEW |