1
$\begingroup$

Most if not all settings have an item Reset to Default Value in the context menu. This would be helpful when tracking down issues when someone played a bit to much with the settings.

Could an addon be created to highlight changed settings, or would this require to change implementation of blender to adjust all hardcoded default values to the values of the default scene?

Can an hook-method be defined to intercept calls to draw an UI control so that the changed settings could be highlighted in one piece of code?

Apart from that there currently is a bug regarding the default settings.

$\endgroup$
6
  • $\begingroup$ That's a bug with reset to default value, see blender.stackexchange.com/a/1951/599. $\endgroup$
    – gandalf3
    Commented Oct 13, 2014 at 7:27
  • $\begingroup$ @gandalf3 Thanks, I changed the question now it no longer focuses on the bug. $\endgroup$
    – stacker
    Commented Oct 13, 2014 at 11:47
  • 1
    $\begingroup$ The default value can be queried via *.bl_rna.properties[prop_name].default. But it is not possible to alter the drawing of ui elements. $\endgroup$ Commented Oct 13, 2014 at 13:35
  • $\begingroup$ The colour used comes from the theme, keyed, driven or default colour is chosen within the c code that draws the items. We don't really have control of the display - we only say "show a property here", blender decides how it is displayed. $\endgroup$
    – sambler
    Commented Oct 14, 2014 at 9:33
  • $\begingroup$ @sambler Could you add your comment as an answer $\endgroup$
    – stacker
    Commented Oct 14, 2014 at 10:56

1 Answer 1

2
$\begingroup$

Unlike a "GUI" toolkit that gives access to the objects drawing the items on screen, in blender we don't really have control of the display - we only say "show a property here", blender then decides how it is displayed.

The colour used to draw each item comes from the theme - keyed, driven or default colour is chosen within the c code that draws the items.

$\endgroup$
3
  • 1
    $\begingroup$ There's a flag you can set with Python however to show certain elements in red: blender.org/documentation/blender_python_api_2_72_release/… $\endgroup$
    – CodeManX
    Commented Oct 15, 2014 at 11:52
  • $\begingroup$ @CoDEmanX thanks, this could help to implement it at least partially. $\endgroup$
    – stacker
    Commented Oct 15, 2014 at 12:14
  • $\begingroup$ @stacker You should word this into answer if you get it working. $\endgroup$
    – iKlsR
    Commented Oct 15, 2014 at 12:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .