Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-09 20:51:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-09 20:51:08 +0400
commita1d5261951ab621d2874ea24e80c95f1b83b5ac8 (patch)
treeb24b06581bca5e08201a090212572abf5ad4d81d /source/blender/makesdna
parent80fa54ab3cfcec7d9ce5976a1b0af1b0c92cdef0 (diff)
fix node drawing glitch where text alignment for output sockets would move the text X axis twice as much as it should have.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_space_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 71b59131f0b..7e1094ef93b 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -856,10 +856,10 @@ typedef struct SpaceNode {
struct ID *id, *from; /* context, no need to save in file? well... pinning... */
short flag, pad1; /* menunr: browse id block in header */
- float aspect;
+ float aspect, aspect_sqrt;
float xof, yof; /* offset for drawing the backdrop */
- float zoom, padf; /* zoom for backdrop */
+ float zoom; /* zoom for backdrop */
float mx, my; /* mousepos for drawing socketless link */
struct bNodeTree *nodetree, *edittree;