@@ -65,7 +65,7 @@ static void node_shader_buts_tex_pointdensity(uiLayout *layout,
|
||||
|
||||
static void node_shader_init_tex_pointdensity(bNodeTree *UNUSED(ntree), bNode *node)
|
||||
{
|
||||
NodeShaderTexPointDensity *point_density = MEM_cnew<NodeShaderTexPointDensity>("new pd node");
|
||||
NodeShaderTexPointDensity *point_density = MEM_new<NodeShaderTexPointDensity>("new pd node");
|
||||
point_density->resolution = 100;
|
||||
point_density->radius = 0.3f;
|
||||
point_density->space = SHD_POINTDENSITY_SPACE_OBJECT;
|
||||
|
||||
Reference in New Issue
Block a user