Commit: 6da5ee8368caac12128a5ea68297662e631777fc
Author: Ray Molenkamp
Date: Wed Apr 13 10:15:00 2022 -0600
Branches: master
https://developer.blender.org/rB6da5ee8368caac12128a5ea68297662e631777fc
Fix: compilation error with MSVC
Similar issue as e22fd7247adc.
===================================================================
M source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc
===================================================================
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;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs