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()
This commit is contained in:
2009-11-30 22:32:04 +00:00
parent 168fe0b4b5
commit 33c444f965
3 changed files with 33 additions and 15 deletions

View File

@@ -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++) {