diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-16 19:55:10 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-16 19:55:10 +0300 |
commit | 520d965c77f9109492013d33cff659cd6055ff11 (patch) | |
tree | 5fbf5e6e8ffc917d158f6a46634209442efc3182 /source/blender/editors/include/ED_node.h | |
parent | 8971018eb64a68119687c74db875fd45f89cbdf8 (diff) |
Cleanup: Compile node_draw.c with C++
This will allow using C++ data structures to draw node error messages.
This required removing a forward declared enum for grease pencil undo.
Compiles with clang tidy.
Diffstat (limited to 'source/blender/editors/include/ED_node.h')
-rw-r--r-- | source/blender/editors/include/ED_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_node.h b/source/blender/editors/include/ED_node.h index 78f354a300d..ea2383457c2 100644 --- a/source/blender/editors/include/ED_node.h +++ b/source/blender/editors/include/ED_node.h @@ -80,7 +80,7 @@ void ED_node_sample_set(const float col[4]); void ED_node_draw_snap( struct View2D *v2d, const float cent[2], float size, NodeBorder border, unsigned int pos); -/* node_draw.c */ +/* node_draw.cc */ void ED_node_socket_draw(struct bNodeSocket *sock, const struct rcti *rect, const float color[4], |