diff options
-rw-r--r-- | source/blender/draw/intern/draw_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_debug.c b/source/blender/draw/intern/draw_debug.c index d5183f4e368..dad71539c9f 100644 --- a/source/blender/draw/intern/draw_debug.c +++ b/source/blender/draw/intern/draw_debug.c @@ -177,7 +177,7 @@ GPUVertBuf *drw_debug_line_buffer_get() float(*fdata)[4] = (float(*)[4])data; for (int v = 0; v < DEBUG_VERT_MAX; v++) { for (int i = 0; i < 3; i++) { - fdata[v][i] = 0.0f / 0.0f; + fdata[v][i] = NAN_FLT; } } BLI_LINKS_PREPEND(DST.debug.line_buffers, buf); |