Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-17 16:47:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-17 16:47:20 +0400
commit0862abf68bf1c9601080d4fb142c8f7edc6b300f (patch)
tree02a3c6fa59a2a78b0c6c1254fd22ac9bd9b18af5 /source/blender/python/BPY_extern.h
parentd00f664ee0c042569900110db21d567c21c391db (diff)
change unit evaluation only to do try the units replacements if evaluating with python fails, in rare cases its possible a valid python expression could get units applied to it.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r--source/blender/python/BPY_extern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h
index 7901957e5e4..e8796a6f8dd 100644
--- a/source/blender/python/BPY_extern.h
+++ b/source/blender/python/BPY_extern.h
@@ -86,7 +86,7 @@ void BPY_modules_load_user(struct bContext *C);
void BPY_driver_reset(void);
float BPY_driver_exec(struct ChannelDriver *driver);
-int BPY_button_exec(struct bContext *C, const char *expr, double *value);
+int BPY_button_exec(struct bContext *C, const char *expr, double *value, const short verbose);
int BPY_string_exec(struct bContext *C, const char *expr);
void BPY_DECREF(void *pyob_ptr); /* Py_DECREF() */