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:
authorHans Goudey <h.goudey@me.com>2021-10-12 17:13:21 +0300
committerHans Goudey <h.goudey@me.com>2021-10-12 17:13:21 +0300
commitc1a1644db7b13425675819eeea9ef96bab4f5c97 (patch)
tree44b633870231c36c87b070fa4c3d922e8999d7df /source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc
parent30cd1d10a95a5e32b9e0daf1a24c41123f262c96 (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.cc4
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 &params)
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 &params,
if (handles.contains(charcodes[i])) {
continue;
}
- Curve cu = {nullptr};
+ Curve cu = {{nullptr}};
cu.type = OB_FONT;
cu.resolu = 12;
cu.vfont = vfont;