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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-17 07:04:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-17 07:04:29 +0300
commit20a6255d49aaa1ca0ad72e75be064b2c1a56353f (patch)
tree8f1ff14b1240ac2869e977c9b191d660f9cfaf67 /source/blender/editors/space_node
parent62592af84349629bccaa1c81df7965f4deb39fd4 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_draw.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index f85d29f99d5..aaceadcc011 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -477,7 +477,7 @@ static void node_update_basis(const bContext *C, bNodeTree *ntree, bNode *node)
if (node->typeinfo->draw_buttons && (node->flag & NODE_OPTIONS)) {
dy -= NODE_DYS / 2;
- /* set this for uifunc() that don't use layout engine yet */
+ /* Set this for `uifunc()` that don't use layout engine yet. */
node->butr.xmin = 0;
node->butr.xmax = NODE_WIDTH(node) - 2 * NODE_DYS;
node->butr.ymin = 0;
@@ -2029,8 +2029,8 @@ void node_draw_space(const bContext *C, ARegion *region)
GPU_depth_test(GPU_DEPTH_NONE);
GPU_scissor_test(true);
- /* XXX snode->runtime->cursor set in coordspace for placing new nodes, used for drawing noodles
- * too */
+ /* XXX `snode->runtime->cursor` set in coordinate-space for placing new nodes,
+ * used for drawing noodles too. */
UI_view2d_region_to_view(&region->v2d,
win->eventstate->x - region->winrct.xmin,
win->eventstate->y - region->winrct.ymin,