diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-01 01:32:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-01 01:32:04 +0300 |
commit | 33c444f9651d8b726b6203c36051db21c24829b1 (patch) | |
tree | 0c12ae743265758e69eef09cb68b58d0b1baf16a /source | |
parent | 168fe0b4b53b048fa7c125f46112f53670610bd4 (diff) |
User Script support added back.
- the scripts path set in the user preferences or ~/.blender/scripts/ui (io, op, io etc..) will be used to load scripts.
- the default home dir part probably only works in *nix os's
- Added a missing sync callback to vector.toTuple()
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/generic/vector.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/generic/vector.c b/source/blender/python/generic/vector.c index b8f2ca6f1df..ae2c96fa86a 100644 --- a/source/blender/python/generic/vector.c +++ b/source/blender/python/generic/vector.c @@ -253,6 +253,9 @@ static PyObject *Vector_ToTuple(VectorObject * self, PyObject *value) return NULL; } + if(!BaseMath_ReadCallback(self)) + return NULL; + ret= PyTuple_New(self->size); for(x = 0; x < self->size; x++) { |