diff options
Diffstat (limited to 'source/blender/nodes/shader')
-rw-r--r-- | source/blender/nodes/shader/node_shader_tree.cc | 6 | ||||
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_tex_sky.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/nodes/shader/node_shader_tree.cc b/source/blender/nodes/shader/node_shader_tree.cc index 1552ed9f19c..0fa977aa63c 100644 --- a/source/blender/nodes/shader/node_shader_tree.cc +++ b/source/blender/nodes/shader/node_shader_tree.cc @@ -845,7 +845,7 @@ static bool ntree_tag_bsdf_cb(bNode *fromnode, bNode *UNUSED(tonode), void *user default: /* We could return false here but since we * allow the use of Closure as RGBA, we can have - * Bsdf nodes linked to other Bsdf nodes. */ + * BSDF nodes linked to other BSDF nodes. */ break; } @@ -972,8 +972,8 @@ bNodeTreeExec *ntreeShaderBeginExecTree(bNodeTree *ntree) exec = ntreeShaderBeginExecTree_internal(&context, ntree, NODE_INSTANCE_KEY_BASE); - /* XXX this should not be necessary, but is still used for cmp/sha/tex nodes, - * which only store the ntree pointer. Should be fixed at some point! + /* XXX: this should not be necessary, but is still used for compositor/shader/texture nodes, + * which only store the `ntree` pointer. Should be fixed at some point! */ ntree->execdata = exec; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc b/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc index 56e42708e93..30ec746c2d0 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc @@ -220,7 +220,7 @@ void register_node_type_sh_tex_sky() node_type_init(&ntype, file_ns::node_shader_init_tex_sky); node_type_storage(&ntype, "NodeTexSky", node_free_standard_storage, node_copy_standard_storage); node_type_gpu(&ntype, file_ns::node_shader_gpu_tex_sky); - /* remove Vector input for Nishita */ + /* Remove vector input for Nishita sky model. */ node_type_update(&ntype, file_ns::node_shader_update_sky); nodeRegisterType(&ntype); |