Merge branch 'blender-v3.4-release'
This commit is contained in:
@@ -219,7 +219,7 @@ class NODE_MT_add(bpy.types.Menu):
|
||||
import nodeitems_utils
|
||||
|
||||
layout = self.layout
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
snode = context.space_data
|
||||
if snode.tree_type == 'GeometryNodeTree':
|
||||
|
@@ -257,7 +257,7 @@ static void add_node_search_exec_fn(bContext *C, void *arg1, void *arg2)
|
||||
}
|
||||
|
||||
new_node->locx = storage.cursor.x / UI_DPI_FAC;
|
||||
new_node->locy = storage.cursor.y / UI_DPI_FAC + 20 * UI_DPI_FAC;
|
||||
new_node->locy = storage.cursor.y / UI_DPI_FAC + 20;
|
||||
|
||||
nodeSetSelected(new_node, true);
|
||||
nodeSetActive(&node_tree, new_node);
|
||||
|
Reference in New Issue
Block a user