Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#32147] Nodes get inserted a position of last menu entry.

Date:
2012-07-19 20:48
Priority:
3
State:
Closed
Submitted by:
Tobias Oelgarte (niabot)
Assigned to:
Lukas Toenne (lukastoenne)
Category:
Node Editor
Status:
Todo / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Nodes get inserted a position of last menu entry.
Detailed description
If i insert a new node with Shift + A then it gets inserted at the location of the last clicked menu entry. This might be useful in some cases and could be considered a feature compared to older revisions. But it has one big disadvantage. If the node editor window is relatively small then the popup will be drawn over the borders of the window and the node gets inserted outside the displayed window region, which i consider a huge drawback. (You need to drag the content to find the node placed off screen)

I would suggest two possible solutions:

A) Reverting to old behavior. The node will be inserted at the current mouse location when you press Shift+A and not at the last selected entry.

B) Combine both methods: Insert it at last click position if the node bounds aren't outside the window bounds (minimizes mouse movement). Otherwise insert it at the position described in A)

Followup

Message
  • Date: 2012-07-20 21:38
  • Sender: Bastien Montagne
  • Lukas, can you please have a look at this oneĀ ? Thanks. :)
  • Date: 2012-07-21 14:31
  • Sender: Lukas Toenne
  • This has been discussed before, i agree the current menu method for adding nodes sucks. I made a little patch (see attachment) some time ago just to place nodes in the position the base menu was first opened instead of the final sub-menu entry. It resolves the issue of random node placement, but also feels a bit disconnected and requires you to look ahead and estimate the desired node location even before opening the menu.

    A better solution imho would be drag & drop from a toolbar in the node editor. I've implemented it a while back, but can't find the patch any more (not hard to redo though). You get a list of all node types in collapsible categories in the toolbar, then d&d a node on the editor window to make an instance. The initial version only supported simple icons during dragging, but maybe can be implemented as an actual transform operator too, so nodes can directly be inserted on links, etc.

    Anyway, it's not a bug, so will close this as todo.
 

Attached Files:

Name Date Download
node_placement_fix_02.diff 2012-07-21 14:31 Download

Changes:

Field Old Value Date By
status_idOpen2012-07-21 14:31lukastoenne
close_dateNone2012-07-21 14:31lukastoenne
StatusNew2012-07-21 14:31lukastoenne
File Added21534: node_placement_fix_02.diff2012-07-21 14:31lukastoenne
assigned_tonone2012-07-20 21:38mont29