Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/drawnode.c
| Show First 20 Lines • Show All 955 Lines • ▼ Show 20 Lines | |||||
| static void node_shader_buts_tex_musgrave(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | static void node_shader_buts_tex_musgrave(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | ||||
| { | { | ||||
| uiItemR(layout, ptr, "musgrave_type", 0, "", ICON_NONE); | uiItemR(layout, ptr, "musgrave_type", 0, "", ICON_NONE); | ||||
| } | } | ||||
| static void node_shader_buts_tex_voronoi(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | static void node_shader_buts_tex_voronoi(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | ||||
| { | { | ||||
| uiItemR(layout, ptr, "coloring", 0, "", ICON_NONE); | uiItemR(layout, ptr, "coloring", 0, "", ICON_NONE); | ||||
| uiItemR(layout, ptr, "distance", 0, "", ICON_NONE); | |||||
| uiItemR(layout, ptr, "feature", 0, "", ICON_NONE); | |||||
| } | } | ||||
| static void node_shader_buts_tex_pointdensity(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | static void node_shader_buts_tex_pointdensity(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | ||||
| { | { | ||||
| bNode *node = ptr->data; | bNode *node = ptr->data; | ||||
| NodeShaderTexPointDensity *shader_point_density = node->storage; | NodeShaderTexPointDensity *shader_point_density = node->storage; | ||||
| Object *ob = (Object *)node->id; | Object *ob = (Object *)node->id; | ||||
| PointerRNA ob_ptr, obdata_ptr; | PointerRNA ob_ptr, obdata_ptr; | ||||
| ▲ Show 20 Lines • Show All 2,741 Lines • Show Last 20 Lines | |||||