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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2022-03-13 20:05:40 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2022-03-13 20:05:40 +0300
commit5a0efc9c8b5ad991109c97d52d476d8c071a78ac (patch)
treee5c8290bc613ef8eea923d0983cb51512c4b1ce7 /source/blender/editors/space_node/node_draw.cc
parent1ca7821b15f3883121552495436142814c73fbb7 (diff)
parent91dbc28363e5450f241eb9696aaca29075c01d20 (diff)
Merge branch 'master' into temp-abc-features
Diffstat (limited to 'source/blender/editors/space_node/node_draw.cc')
-rw-r--r--source/blender/editors/space_node/node_draw.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 1286f6a818c..9976ecf7700 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -720,7 +720,7 @@ static void node_socket_draw_multi_input(const float color[4],
{
/* The other sockets are drawn with the keyframe shader. There, the outline has a base thickness
* that can be varied but always scales with the size the socket is drawn at. Using `U.dpi_fac`
- * has the the same effect here. It scales the outline correctly across different screen DPIs
+ * has the same effect here. It scales the outline correctly across different screen DPI's
* and UI scales without being affected by the 'line-width'. */
const float outline_width = NODE_SOCK_OUTLINE_SCALE * U.dpi_fac;
@@ -1193,7 +1193,7 @@ static void node_toggle_button_cb(struct bContext *C, void *node_argv, void *op_
/* Select & activate only the button's node. */
node_select_single(*C, *node);
- WM_operator_name_call(C, opname, WM_OP_INVOKE_DEFAULT, nullptr);
+ WM_operator_name_call(C, opname, WM_OP_INVOKE_DEFAULT, nullptr, nullptr);
}
static void node_draw_shadow(const SpaceNode &snode,