Building w/o Python works again

This commit is contained in:
Campbell Barton
2017-06-26 13:25:51 +10:00
parent b0ee9aaa5d
commit 0172ed8fe5
2 changed files with 3 additions and 4 deletions

View File

@@ -1945,7 +1945,7 @@ float evaluate_driver(PathResolvedRNA *anim_rna, ChannelDriver *driver, const fl
BLI_mutex_unlock(&python_driver_lock);
}
#else /* WITH_PYTHON*/
(void)evaltime;
UNUSED_VARS(anim_rna, evaltime);
#endif /* WITH_PYTHON*/
break;
}

View File

@@ -2335,11 +2335,10 @@ bool ui_but_string_set_eval_num(bContext *C, uiBut *but, const char *str, double
#else /* WITH_PYTHON */
*value = atof(str);
*r_value = atof(str);
ok = true;
(void)C;
(void)but;
UNUSED_VARS(C, but);
#endif /* WITH_PYTHON */