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.
This commit is contained in:
Joshua Leung 2014-01-02 12:37:00 +13:00
parent c7029f06d9
commit f75441014c
Notes: blender-bot 2023-02-14 20:11:59 +01:00
Referenced by issue blender/blender-addons#38025, Key-framing lattice points fails
1 changed files with 3 additions and 1 deletions

View File

@ -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");