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:
authorTon Roosendaal <ton@blender.org>2011-06-14 19:55:46 +0400
committerTon Roosendaal <ton@blender.org>2011-06-14 19:55:46 +0400
commitcc2c511207bafdd0116cc7bf264e9bd48a4bf75f (patch)
tree41a4f64f0cfc23b25e97ad22b4b7a2cd04d00f0d /source/blender/editors/space_node/node_intern.h
parent23e2bfed239256994a6daf2ca5a08298e7029681 (diff)
Nodes display now follow 'DPI' user pref too
Diffstat (limited to 'source/blender/editors/space_node/node_intern.h')
-rw-r--r--source/blender/editors/space_node/node_intern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_intern.h b/source/blender/editors/space_node/node_intern.h
index fcf1c182600..a1c0f5535fe 100644
--- a/source/blender/editors/space_node/node_intern.h
+++ b/source/blender/editors/space_node/node_intern.h
@@ -152,8 +152,8 @@ extern const char *node_context_dir[];
// XXX from BSE_node.h
#define HIDDEN_RAD 15.0f
#define BASIS_RAD 8.0f
-#define NODE_DYS 10
-#define NODE_DY 20
+#define NODE_DYS (U.widget_unit/2)
+#define NODE_DY U.widget_unit
#define NODE_SOCKSIZE 5
// XXX button events (butspace)