diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 07:25:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 07:25:53 +0400 |
commit | 17786b3b3ee57bc26cef4a279afcc2fb7278cb0d (patch) | |
tree | 5f208a00a9a5d61e0df183db25cf0ceb49c38cbc /source/blender/editors/interface | |
parent | 640d766370c50366f32ca533f772b8a96b4adf5a (diff) |
building without python works again, cleanup bmesh include paths (cmake and scons).
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index f15de857549..7e4ca0212fb 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -1745,9 +1745,12 @@ int ui_set_but_string_eval_num(bContext *C, uiBut *but, const char *str, double #else /* WITH_PYTHON */ - value= atof(str); + *value = atof(str); ok = TRUE; + (void)C; + (void)but; + #endif /* WITH_PYTHON */ return ok; |