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$
  • $\begingroup$ That's a bug with reset to default value, see blender.stackexchange.com/a/1951/599. $\endgroup$ – gandalf3 Oct 13 '14 at 7:27
  • $\begingroup$ @gandalf3 Thanks, I changed the question now it no longer focuses on the bug. $\endgroup$ – stacker Oct 13 '14 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$ – pink vertex Oct 13 '14 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 Oct 14 '14 at 9:33
  • $\begingroup$ @sambler Could you add your comment as an answer $\endgroup$ – stacker Oct 14 '14 at 10:56
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.

| improve this answer | |
$\endgroup$
  • 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 Oct 15 '14 at 11:52
  • $\begingroup$ @CoDEmanX thanks, this could help to implement it at least partially. $\endgroup$ – stacker Oct 15 '14 at 12:14
  • $\begingroup$ @stacker You should word this into answer if you get it working. $\endgroup$ – iKlsR Oct 15 '14 at 12:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.