Context menu 'Edit Source' operator no longer needs to be enabled as a build option, improved this so the python file:line lookups are only done when the operator runs (previously this was done for every button, every draw when the build option was enabled).
Perhaps this should be hidden when not running with --debug, easy to change.
This commit is contained in:
@@ -252,11 +252,6 @@ struct uiBut {
|
||||
|
||||
/* pointer back */
|
||||
uiBlock *block;
|
||||
|
||||
#ifdef WITH_PYTHON_UI_INFO
|
||||
char py_dbg_fn[240];
|
||||
int py_dbg_ln;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct uiBlock {
|
||||
|
||||
Reference in New Issue
Block a user