Blender Git Loki

Git Commits -> Revision ac6c218

Revision ac6c218 by Joshua Leung (master)
February 28, 2013, 07:13 (GMT)
Invalid Driver Targets are now indicated appropriately (using Red Backgrounds)
in the UI

This is the second part of the fixes for [#32492], making it easier to identify
which part of a driver (i.e. which of its targets) is causing problems

A number of additional/related changes needed to be made:
* Red-alert status for layouts is now propagated down to child layouts when they
are created. This is needed as otherwise some of the templates used in the Graph
Editor driver settings won't actually get the red-alert status flushed down to
them. Also, note that this status needs to be set before any widgets are added
to the layout, or else the settings aren't applied when the relevant widgets get
created.

* "Single Property" RNA-Paths resulting in out of bounds array access will now
trigger an error status and appropriate warnings

TODO:
* The error tagging doesn't get applied immediately after variables are created,
or their types changed
* There was also some other weirdness involved when a higher-value flag (1<<10)
was used for this setting, which needs further attention

Commit Details:

Full Hash: ac6c218cf423ab2ea059ea169df54250ed81af97
SVN Revision: 54924
Parent Commit: 2afca3e
Lines Changed: +80, -27

4 Modified Paths:

/source/blender/blenkernel/intern/fcurve.c (+48, -9) (Diff)
/source/blender/editors/interface/interface_layout.c (+4, -0) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+21, -14) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+7, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021