diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-12 17:13:21 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-12 17:13:21 +0300 |
commit | c1a1644db7b13425675819eeea9ef96bab4f5c97 (patch) | |
tree | 44b633870231c36c87b070fa4c3d922e8999d7df /source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc | |
parent | 30cd1d10a95a5e32b9e0daf1a24c41123f262c96 (diff) |
Cleanup: Attempt to fix benign macOS compile warnings
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc b/source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc index 3eec2279f24..1cb6d43f685 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc @@ -136,7 +136,7 @@ static TextLayout get_text_layout(GeoNodeExecParams ¶ms) params.extract_input<float>("Text Box Height"); VFont *vfont = (VFont *)params.node().id; - Curve cu = {nullptr}; + Curve cu = {{nullptr}}; cu.type = OB_FONT; /* Set defaults */ cu.resolu = 12; @@ -214,7 +214,7 @@ static Map<int, int> create_curve_instances(GeoNodeExecParams ¶ms, if (handles.contains(charcodes[i])) { continue; } - Curve cu = {nullptr}; + Curve cu = {{nullptr}}; cu.type = OB_FONT; cu.resolu = 12; cu.vfont = vfont; |