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:
authorThomas Dinges <blender@dingto.org>2011-01-31 19:16:15 +0300
committerThomas Dinges <blender@dingto.org>2011-01-31 19:16:15 +0300
commit05034fb91f32d1b0723b7a6586f854a00980083c (patch)
tree5500ef1f9df611733c3757324f9cb616f5df18c3 /source/blender/makesrna
parentfefe3daf24e79800415f9f0d7374a0a31b8493c6 (diff)
Node UI:
* Added Backdrop Panel inside the "Properties" area. * Hard limit for the "zoom" value. Negative values doesn't make sense. * Added a missing notifier for the Node backdrop move operator.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_space.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 8cf0d94d03e..19263f0ad4d 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2311,6 +2311,7 @@ static void rna_def_space_node(BlenderRNA *brna)
prop= RNA_def_property(srna, "backdrop_zoom", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "zoom");
+ RNA_def_property_range(prop, 0.01f, FLT_MAX);
RNA_def_property_ui_text(prop, "Backdrop Zoom", "Backdrop zoom factor");
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_NODE_VIEW, NULL);