Blender Git Loki

Git Commits -> Revision 04ff278

Revision 04ff278 by Joshua Leung (master)
October 26, 2015, 10:24 (GMT)
Fix: Prevent warnings from popping up when trying to edit driver expressions from buttons

Previously, a warning was added to provide feedback to users trying to change the values
of driven properties why their edits would not have any effect on the propeerty. However,
it turned out that instead of only showing up when the user tried to increment/decrement/slide
the property's value, it was also firing everytime they were trying to edit the expression.
That however is not what we want at all!

This fix assumes that BUTTON_STATE_TEXT_EDITING is used for expression editing, and
BUTTON_STATE_NUM_EDITING (or everything else) refers to the user trying to adjust the
value normally.

Commit Details:

Full Hash: 04ff2784da884675366091f88a08734e6ddbbce8
Parent Commit: 0a3ca17
Lines Changed: +8, -2

1 Modified Path:

/source/blender/editors/interface/interface_handlers.c (+8, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021