Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2022-04-13 19:15:00 +0300
committerRay Molenkamp <github@lazydodo.com>2022-04-13 19:15:00 +0300
commit6da5ee8368caac12128a5ea68297662e631777fc (patch)
treecd0161a39839a09ee6f7708d9ee38031438b1a98 /source/blender/nodes
parent7dc4ac71e8dcbd801ca9d375cdd1bea88e6293ac (diff)
Fix: compilation error with MSVC
Similar issue as e22fd7247adc.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc b/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc
index 17fff4a7e1e..fcd1d4973ff 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc
@@ -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;