Page MenuHome

Cleanup: Use the range format "0.0 to 1.0"
ClosedPublic

Authored by Yevgeny Makarov (jenkm) on Dec 7 2020, 1:07 PM.

Details

Summary

Cleanup: unified range format, removed default values in tooltips

  • The unified range format is used (0.0 to 1.0).
  • Removed the mention of default values in tooltips.

Diff Detail

Repository
rB Blender

Event Timeline

Yevgeny Makarov (jenkm) requested review of this revision.Dec 7 2020, 1:07 PM
Yevgeny Makarov (jenkm) created this revision.

Generally a nice improvement I think.

source/blender/editors/space_image/image_buttons.c
1069 ↗(On Diff #31683)

This reads odd. It's not a full sentence, but looks like one.

source/blender/makesrna/intern/rna_pose.c
1555

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.

1561

Same here.

1577

Would do: "(higher values means more stability, less reactivity; default is 0.1)"

1586

And same here.

Removed the mention of default values.


I won't touch "Hard coded Non-Linear, Gamma:1.7" since it is not clear what is meant here.
Probably codec parameters that can't be changed.

#if 1
    uiItemL(col, IFACE_("Hard coded Non-Linear, Gamma:1.7"), ICON_NONE);
#else
    uiItemR(col, imfptr, "use_cineon_log", 0, NULL, ICON_NONE);
    uiItemR(col, imfptr, "cineon_black", 0, NULL, ICON_NONE);
    uiItemR(col, imfptr, "cineon_white", 0, NULL, ICON_NONE);
    uiItemR(col, imfptr, "cineon_gamma", 0, NULL, ICON_NONE);
#endif
This revision is now accepted and ready to land.Dec 7 2020, 2:16 PM

Note that this should either be split up into multiple commits, or the commit title should clarify that it's doing more than changing the range format.

Yevgeny Makarov (jenkm) edited the summary of this revision. (Show Details)Dec 7 2020, 3:08 PM
Yevgeny Makarov (jenkm) edited the summary of this revision. (Show Details)

Split up into multiple commits, no changes here.

Looks good.

Will change "are limited to 3 and 4 sided faces" to "are limited to 3 or 4 sided faces".

With "higher values means more stability" the subject "higher values" is plural, which would result in using "mean", rather than "means". But... I would resist using the word "mean" in our case because it is natural to think of mathematical mean when dealing with values. Therefore changing to "higher values produce results with more stability, less reactivity"

This revision was automatically updated to reflect the committed changes.