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-02-02 18:51:38 +0300
committerHans Goudey <h.goudey@me.com>2021-02-02 18:51:38 +0300
commit198ff4703f84d0c32674d9a2b4be3121586fb083 (patch)
treef4482c8debc7bf4924a75dd935b8292a40ba78ef /source/blender/nodes/texture
parentd0aa7d5562b61f0e4e6f5221962d022db28d1625 (diff)
Blenkernel: Move node.c to C++
Required changes to compile `node.cc` with clang tidy: * Use c++ includes like (e.g. climits instead limits.h). * Insert type casts when casting from `void *`. * Replace `NULL` with `nullptr`. * Replace typedef statements. This change is in order to use the `blender::Map` data structure for node error messages.
Diffstat (limited to 'source/blender/nodes/texture')
-rw-r--r--source/blender/nodes/texture/node_texture_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/node_texture_util.c b/source/blender/nodes/texture/node_texture_util.c
index 96a0be6babc..2091a8bf10e 100644
--- a/source/blender/nodes/texture/node_texture_util.c
+++ b/source/blender/nodes/texture/node_texture_util.c
@@ -146,7 +146,7 @@ void tex_output(bNode *node,
}
if (!out->data) {
- /* Freed in tex_end_exec (node.c) */
+ /* Freed in tex_end_exec (node.cc) */
dg = out->data = MEM_mallocN(sizeof(TexDelegate), "tex delegate");
}
else {