Fix: Rename the dimensions property in Noise nodes.
The `dimensions` property of the noise nodes has been renamed to `noise_dimensions` because it conflicted with and overwrote the `dimensions` property of the base node. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5705
This commit is contained in:
@@ -920,7 +920,7 @@ static void node_shader_buts_tex_voronoi(uiLayout *layout, bContext *UNUSED(C),
|
||||
|
||||
static void node_shader_buts_tex_noise(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
|
||||
{
|
||||
uiItemR(layout, ptr, "dimensions", 0, "", ICON_NONE);
|
||||
uiItemR(layout, ptr, "noise_dimensions", 0, "", ICON_NONE);
|
||||
}
|
||||
|
||||
static void node_shader_buts_tex_pointdensity(uiLayout *layout,
|
||||
@@ -1164,7 +1164,7 @@ static void node_shader_buts_ambient_occlusion(uiLayout *layout,
|
||||
|
||||
static void node_shader_buts_white_noise(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
|
||||
{
|
||||
uiItemR(layout, ptr, "dimensions", 0, "", ICON_NONE);
|
||||
uiItemR(layout, ptr, "noise_dimensions", 0, "", ICON_NONE);
|
||||
}
|
||||
|
||||
/* only once called */
|
||||
|
||||
Reference in New Issue
Block a user