diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-29 19:42:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-29 19:42:51 +0300 |
commit | 3b72584b7dd71737099184bc5a981874a7b4fa21 (patch) | |
tree | e4cff9f2b149e8b2bcabed2267f58f9c24b5fb28 /source/blender/python/intern/bpy_operator_wrap.c | |
parent | e08b6b837691d2d7a9d246759d6f43a49dd0e004 (diff) |
- access to a nurbs points was broken - sizeof(BPoint) vs sizeof(BPoint *)
- renamed CurvePoint --> SplinePoint
- renamed point.point --> point.co (less stupid, matches vertex.co)
- access point.co was a 3D vector rather then a 4D vector with the Nurbs weight included.
- rename point.weight --> point.weight_softbody, move point.point[3] --> point.weight
- sorted RNA structs (for pedaticness only)
Diffstat (limited to 'source/blender/python/intern/bpy_operator_wrap.c')
-rw-r--r-- | source/blender/python/intern/bpy_operator_wrap.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/python/intern/bpy_operator_wrap.c b/source/blender/python/intern/bpy_operator_wrap.c index f12c7979f3e..ff49d381dd1 100644 --- a/source/blender/python/intern/bpy_operator_wrap.c +++ b/source/blender/python/intern/bpy_operator_wrap.c @@ -260,16 +260,6 @@ static void PYTHON_OT_draw(bContext *C, wmOperator *op, uiLayout *layout) PYTHON_OT_generic(PYOP_DRAW, C, op->type, op, NULL, layout); } -// void (*ui)(struct bContext *, struct PointerRNA *, struct uiLayout *); -// -//static int PYTHON_OT_ui(bContext *C, PointerRNA *, uiLayout *layout) -//{ -// PointerRNA ptr_context, ptr_layout; -// RNA_pointer_create(NULL, &RNA_Context, C, &ptr_context); -// RNA_pointer_create(NULL, &RNA_UILayout, layout, &ptr_layout); -// -//} - void PYTHON_OT_wrapper(wmOperatorType *ot, void *userdata) { PyObject *py_class = (PyObject *)userdata; @@ -453,6 +443,3 @@ PyObject *PYOP_wrap_remove(PyObject *self, PyObject *value) Py_RETURN_NONE; } - - - |