Commit Graph

4229 Commits

Author SHA1 Message Date
Stephen Swaney
e2e6bc37a9 setControlPoint() had incorrect argument list.
also some minor reformatting.
2003-11-06 18:17:05 +00:00
Stephen Swaney
ae68b653b5 shell script to generate blender python api docs using epydoc 2003-10-29 23:03:30 +00:00
94931ece1e removed duplicated arrays 2003-10-29 09:12:22 +00:00
dd6a83d9c0 Exppython:
- Minor tweaks related to ipos and Added Object_setIpo and Object_clearIpo to Object.c
- Updated docs
2003-10-29 01:37:32 +00:00
fad1324e5a update of the doc (ipoCurve function) 2003-10-28 23:25:59 +00:00
976164a338 modified the print function 2003-10-28 23:25:25 +00:00
966ff6840e added getIpo() function. 2003-10-28 23:23:30 +00:00
9c6275c55b Exppython:
- Small fix in NMesh.c
- Updates to ipo related methods in Camera, World and Material
- Doc updates
2003-10-28 00:29:37 +00:00
9c54e9507a Updated documentation for the getCurves function. 2003-10-27 21:50:36 +00:00
cd0e042dbc Update of the documentation files for the new IPO functions 2003-10-26 21:22:24 +00:00
cfa48583ae added a new function : getCurve(string) allowing access to an ipo curve from its name. 2003-10-26 16:54:33 +00:00
6b1b9c1890 iaccess to the IPOs of a Camera, a World, or of a Material 2003-10-26 16:51:53 +00:00
d423c0828f Exppython:
- Added "Radio" to Material modes
- Fixed bug in bone.getParent (bug report on blender.org py forum)
- Added more types to object.shareFrom (method to share obdata)
- Added nmesh.get/setMaxSmoothAngle and nmesh.get/setSubDivLevels
- Updated NMesh doc
2003-10-26 06:03:18 +00:00
5f26e16c51 Exppython: fixed crash caused by linking to a scene objects with NULL obdata, caused by recent (2.28c) internal changes to avoid unneded creation of obdata. 2003-10-24 17:08:59 +00:00
6c9f9d0716 Annotation of the BGL module - small clarifications about Buffer class 2003-10-23 23:44:18 +00:00
c8b85db96c Annotation of the BGL module 2003-10-23 23:17:48 +00:00
594f3cddca A few bugfixes to the vgrouping methods 2003-10-21 17:25:27 +00:00
bac66d0a19 Exppython: small changes in NMesh internals and docs 2003-10-20 18:57:31 +00:00
a56d3d189a included "BLI_arithb.h" for normal calculations... 2003-10-19 16:03:18 +00:00
Stephen Swaney
c19d84f89e Fix unchecked pointer reference when adding sitedirs to sys.path.
This is a bugfix against the 2.28c release.
2003-10-19 06:26:32 +00:00
56ad0d31b9 Added support for returning the normal of a NMFace 2003-10-19 03:15:43 +00:00
1bc0f43da0 Getting rid of warnings in NMesh.c, should fix compile problems. 2003-10-12 23:41:33 +00:00
e4d86c85c3 Added updates to reflect the vertex grouping changes in NMesh.c 2003-10-12 17:15:51 +00:00
c4d9d0dc30 Add vertex group support... 2003-10-12 16:23:39 +00:00
642e27f3e9 Added vertex grouping support 2003-10-12 16:14:03 +00:00
572661b9b8 Added vertex group support... 2003-10-12 16:13:12 +00:00
a7fe79a142 Removed spaces - test commit 2003-10-12 16:03:52 +00:00
e33e4addeb Referenced a wrong variable. Stupid typo. 2003-10-05 11:23:49 +00:00
d626f03962 * Made internals of the Python Object module more consistent with other
modules.
* .setLocation(), .setDeltaLocation() and .setEuler() now can accept 3 floats
  or a list of 3 floats.
  This finally makes the following possible:
    obj.setLocation (obj.getLocation())
    obj.loc = obj.loc
  Of course this applies to the other functions as well.
2003-10-05 11:17:14 +00:00
63e7c3e077 Exppython:
- Object.c: forgot to initialize an object->data pointer to NULL in Object_New
2003-09-23 03:02:54 +00:00
c0303d78b4 Exppython:
- Object: implemented getBoundBox and makeDisplayList methods
- NMesh and Object: small internal changes for nicer behavior
- Draw: added function PupMenu
- Docs: updated for the additions above
Auto build tiny fix: added the imbuf include dir to source/creator/Makefile.am
2003-09-20 03:40:16 +00:00
775f006bf1 Exppython:
- Window: implemented .SetCursorPos, .GetViewMatrix, .GetViewVector
- Lamp: .setDist was not in the methods table:
    Fix by new bpython developer Stephen Swaney
- Scene: .frameSettings was crashing Blender (pointed by jms)
- Added site dirs to sys.path (patch by Stephen Swaney)
- NMesh: small internal change (added pointer to parent object)
- Object: function NMesh_FromPyObject has a new arg: pointer to obj
- Docs: added docs for implemented functions, plus some more info
2003-09-18 00:54:43 +00:00
da773eee18 * Fix bug in Object.getEuler() and Object.setEuler() methods
I must have been looking outside when writing those functions :) They
  accessed the dloc values instead of the loc values. Doh
* Minor cleanup in Object.h
2003-09-17 18:15:51 +00:00
a09e5a7f2f Exppython:
- Window: added .GetCursorPos()
- Lamp: updated for NoDiffuse and NoSpecular modes
- Registry: new module to handle persistent data
- vector: made it correctly print only 3 values when vec->size==3:
    Fixes nmvert coords printed with a 4th 0.0 coordinate
- Text: fixed crash on startup (Python 2.3, linux):
    added definition of the Text pyobject earlier, in Types.c
2003-09-03 04:13:08 +00:00
65746ab10a Exppython:
- Updated two doc files
2003-09-03 04:04:17 +00:00
bb824b08b7 function PyArgsParse changed for PyArgsParseTuple by Stephen ( not so that sure...) 2003-09-02 20:13:43 +00:00
679a44d2c6 Modification of the GetControlPoint function by Stephen, who is now responsible for this module
slight bug fixes (Steph.)
2003-09-02 20:11:11 +00:00
b64b5d7b63 * Fix crash when linking something illegal to an Object.
Pointed out and fixed by Stephen Swaney
2003-08-27 18:10:59 +00:00
2289f3abb6 Exppython:
- Adding argv to the builtin sys Python module:
    Currently only argv[0] is there.  This fixes a weird error that can make
    correct scripts fail.
2003-08-10 23:18:00 +00:00
7163867395 * Fix crash in the getParent() and getTracked() methods of the Python API.
This crash was reported by Jean-Michel Soler (jms).
  Problem was that I was trying to be a little too intelligent. I kept a
  reference to created PyObjects which at some point apparently fails. Keeping
  the object references is not necessary. Now we just create a new PyObject
  when necessary and let Python handle the reference counts.
2003-08-10 10:03:37 +00:00
d24761807d changed a return value for Irix compiler 2003-08-07 13:20:25 +00:00
1e433aeb58 Exppython:
- Fixed crash in NMesh:
    When trying to rename newly created meshes, Blender would crash due to
    invalid id->lib in new_id().
2003-08-07 04:12:44 +00:00
0c1f9dd832 * Updated the Python API module documentation for Object.
Added a couple of examples for some functions.
* Fixed some small documentation problems with regards to the implementation.
2003-08-06 22:08:56 +00:00
577616b358 Exppython:
- Update method scene.update():
    To accept an optional parameter for a "full" update (using set_scene_bg()).
- Updated the docs accordingly.
2003-08-06 19:25:06 +00:00
2db07e8f27 * Updated the Python API module documentation for Object.
This module now contains a complete description - finally.
2003-08-06 17:04:36 +00:00
05187adc2f removed unuseful function calls in BezTriple.[ch]
general cleaning of Ipocurve.c Ipocurve.h Ipo.h Ipo.c
updated doc
2003-08-05 10:19:28 +00:00
683c322b0e Exppython:
- Fixed bug #399:
    Old bug on NMesh: segfault on NMesh.Face(vertexlist).
- Fixed bug #433:
    "Typo" on Armature: bone's setQuat method was changing bone->head, not
    bone->quat.
2003-08-05 03:45:31 +00:00
41211edfee Exppython:
Text module: trying to get the filename attribute didn't check for NULL.
  Reported by Stani Michiels. Fixed now.
2003-08-02 20:49:31 +00:00
1a0fc24542 Exppython:
Expanding NMesh_update() to accept a parameter to tell it to recalculate
  normals, I introduced an error: new meshes would segfault Blender.  Fixed.
2003-08-02 03:37:16 +00:00
08c1fe6818 Added a new function (member of the Ipo object) EvaluateCurveOn(int pos, float time) which returns the value of the ipo curve number pos at the given time.
Updated doc accordingly.
2003-08-01 19:47:01 +00:00