diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-06-14 12:59:21 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-06-14 12:59:21 +0400 |
commit | 49065fcbe8ddd90c3f8053ca87552433ddd1298d (patch) | |
tree | 73c4bb7964ca1d8a23a24851ed9e0ba26cb5999f /source/blender/makesrna/intern/rna_mesh_api.c | |
parent | 1fe21f29ec9134175aeb6ba9bf4bf3ddf9753e89 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh_api.c')
0 files changed, 0 insertions, 0 deletions