[Bf-blender-cvs] [84bed52] master: Some initial tooltips for FModifiers

Joshua Leung noreply at git.blender.org
Fri Mar 7 14:17:25 CET 2014


Commit: 84bed52ac35c48a42798c3ef713264ebfe6741bf
Author: Joshua Leung
Date:   Tue Feb 25 02:50:18 2014 +1300
https://developer.blender.org/rB84bed52ac35c48a42798c3ef713264ebfe6741bf

Some initial tooltips for FModifiers

These are quite rough and could use some more attention to read better

===================================================================

M	source/blender/makesrna/intern/rna_fcurve.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index 94d8623..c97cef2 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -49,15 +49,22 @@
 
 EnumPropertyItem fmodifier_type_items[] = {
 	{FMODIFIER_TYPE_NULL, "NULL", 0, "Invalid", ""},
-	{FMODIFIER_TYPE_GENERATOR, "GENERATOR", 0, "Generator", ""},
-	{FMODIFIER_TYPE_FN_GENERATOR, "FNGENERATOR", 0, "Built-In Function", ""},
-	{FMODIFIER_TYPE_ENVELOPE, "ENVELOPE", 0, "Envelope", ""},
-	{FMODIFIER_TYPE_CYCLES, "CYCLES", 0, "Cycles", ""},
-	{FMODIFIER_TYPE_NOISE, "NOISE", 0, "Noise", ""},
+	{FMODIFIER_TYPE_GENERATOR, "GENERATOR", 0, "Generator",
+	                           "Generate a curve using a factorised or expanded polynomial"},
+	{FMODIFIER_TYPE_FN_GENERATOR, "FNGENERATOR", 0, "Built-In Function",
+	                              "Generate a curve using standard math functions such as sin and cos"},
+	{FMODIFIER_TYPE_ENVELOPE, "ENVELOPE", 0, "Envelope",
+	                        "Reshape F-Curve values - e.g. change amplitude of movements"},
+	{FMODIFIER_TYPE_CYCLES, "CYCLES", 0, "Cycles",
+	                        "Cyclic extend/repeat keyframe sequence"},
+	{FMODIFIER_TYPE_NOISE, "NOISE", 0, "Noise",
+	                       "Add pseudo-random noise on top of F-Curves"},
 	/*{FMODIFIER_TYPE_FILTER, "FILTER", 0, "Filter", ""},*/ /* FIXME: not implemented yet! */
 	/*{FMODIFIER_TYPE_PYTHON, "PYTHON", 0, "Python", ""},	 *//* FIXME: not implemented yet! */
-	{FMODIFIER_TYPE_LIMITS, "LIMITS", 0, "Limits", ""},
-	{FMODIFIER_TYPE_STEPPED, "STEPPED", 0, "Stepped Interpolation", ""},
+	{FMODIFIER_TYPE_LIMITS, "LIMITS", 0, "Limits",
+	                        "Restrict maximum and minimum values of F-Curve"},
+	{FMODIFIER_TYPE_STEPPED, "STEPPED", 0, "Stepped Interpolation",
+	                         "Snap values to nearest grid-step - e.g. for a stop-motion look"},
 	{0, NULL, 0, NULL, NULL}
 };




More information about the Bf-blender-cvs mailing list