Blender Git Commit Log

Git Commits -> Revision 299f647

October 29, 2015, 10:10 (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: 299f6470049c16e388aaa07d426ca3d622c76975
Parent Commit: 1ce73aa
Committed By: Campbell Barton
Lines Changed: +8, -2

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021