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:
authorJoshua Leung <aligorith@gmail.com>2014-01-02 03:37:00 +0400
committerJoshua Leung <aligorith@gmail.com>2014-01-02 03:51:27 +0400
commitf75441014cc90afab46ec2d9872e1261263a43b5 (patch)
treec8c30cde06bb5c86aa636dc3dbd661bc2c6cfed8 /source/blender/makesrna/intern/rna_lattice.c
parentc7029f06d924e5acf5eafcaa13854aca5e7406b5 (diff)
Fix T38025: Key-framing lattice points fails
Clarified the tooltip/description on the LatticePoint.co property to make it clear that it shouldn't be edited, and that LatticePoint.co_deform should be used instead.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lattice.c')
-rw-r--r--source/blender/makesrna/intern/rna_lattice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c
index 2580cd9cff8..9b22f780ee6 100644
--- a/source/blender/makesrna/intern/rna_lattice.c
+++ b/source/blender/makesrna/intern/rna_lattice.c
@@ -261,7 +261,9 @@ static void rna_def_latticepoint(BlenderRNA *brna)
RNA_def_property_array(prop, 3);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_float_funcs(prop, "rna_LatticePoint_co_get", NULL, NULL);
- RNA_def_property_ui_text(prop, "Location", "");
+ RNA_def_property_ui_text(prop, "Location",
+ "Original undeformed location used to calculate the strength of the deform effect "
+ "(edit/animate the Deformed Location instead)");
prop = RNA_def_property(srna, "co_deform", PROP_FLOAT, PROP_TRANSLATION);
RNA_def_property_float_sdna(prop, NULL, "vec");