Fix: compilation error with MSVC

Similar issue as e22fd7247a.
This commit is contained in:
Ray molenkamp 2022-04-13 10:15:00 -06:00
parent 7dc4ac71e8
commit 6da5ee8368
1 changed files with 1 additions and 1 deletions

View File

@ -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;