Fix T38141: wrong add reroute node location with shift LMB cut on OS X / retina.
This commit is contained in:
@@ -192,8 +192,8 @@ static bNodeSocketLink *add_reroute_do_socket_section(bContext *C, bNodeSocketLi
|
||||
/* average cut point from shared links */
|
||||
mul_v2_fl(insert_point, 1.0f / num_links);
|
||||
|
||||
reroute_node->locx = insert_point[0];
|
||||
reroute_node->locy = insert_point[1];
|
||||
reroute_node->locx = insert_point[0] / UI_DPI_FAC;
|
||||
reroute_node->locy = insert_point[1] / UI_DPI_FAC;
|
||||
}
|
||||
|
||||
return socklink;
|
||||
|
||||
Reference in New Issue
Block a user