Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_pose.c
| Context not available. | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Feedback", | "Feedback", | ||||
| "Feedback coefficient for error correction, average response time is 1/feedback " | "Feedback coefficient for error correction, average response time is 1/feedback"); | ||||
| "(default=20)"); | |||||
| RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | ||||
Severin: Isn't it better to just get rid of the equal sign? "(default is 20)". Although I'm not sure if… | |||||
| prop = RNA_def_property(srna, "velocity_max", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "velocity_max", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "maxvel"); | RNA_def_property_float_sdna(prop, NULL, "maxvel"); | ||||
| RNA_def_property_range(prop, 0.0f, 100.0f); | RNA_def_property_range(prop, 0.0f, 100.0f); | ||||
| RNA_def_property_ui_text(prop, "Max Velocity", "Maximum joint velocity in rad/s (default=50)"); | RNA_def_property_ui_text(prop, "Max Velocity", "Maximum joint velocity in rad/s"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | ||||
Not Done Inline ActionsSame here. Severin: Same here. | |||||
| prop = RNA_def_property(srna, "solver", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "solver", PROP_ENUM, PROP_NONE); | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Damp", | "Damp", | ||||
| "Maximum damping coefficient when singular value is nearly 0 " | "Maximum damping coefficient when singular value is nearly 0 " | ||||
| "(higher values=more stability, less reactivity - default=0.5)"); | "(higher values means more stability, less reactivity)"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | ||||
Not Done Inline ActionsWould do: "(higher values means more stability, less reactivity; default is 0.1)" Severin: Would do: "(higher values means more stability, less reactivity; default is 0.1)" | |||||
| prop = RNA_def_property(srna, "damping_epsilon", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "damping_epsilon", PROP_FLOAT, PROP_FACTOR); | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Epsilon", | "Epsilon", | ||||
| "Singular value under which damping is progressively applied " | "Singular value under which damping is progressively applied " | ||||
| "(higher values=more stability, less reactivity - default=0.1)"); | "(higher values means more stability, less reactivity)"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Itasc_update"); | ||||
Not Done Inline ActionsAnd same here. Severin: And same here. | |||||
| } | } | ||||
| Context not available. | |||||
Isn't it better to just get rid of the equal sign? "(default is 20)". Although I'm not sure if we should mention the defaults at all. We don't do that usually and there's Reset to Default Value.