Blender Git Commit Log

Git Commits -> Revision 49065fc

Revision 49065fc by Lukas Toenne (master)
June 14, 2013, 08:59 (GMT)
Added a read-only dimensions property for Nodes. This returns the actual node size as calculated in the node_update functions. It can be useful for node layout scripts, since the width/height properties
are not an accurate representation of the actual node size which is determined by the uiLayout.

Please note that the dimensions calculation depends on the drawing of nodes, so it may not get updated if nodes are not visible in any editor. Also the node height in particular can change dramatically
based on previews, visible sockets, etc.

Commit Details:

Full Hash: 49065fcbe8ddd90c3f8053ca87552433ddd1298d
SVN Revision: 57451
Parent Commit: 1fe21f2
Lines Changed: +13, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_nodetree.c (+13, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021