Commit Graph

197 Commits

Author SHA1 Message Date
856e33cefc BPython: small update to Types.c and the docs, to finish welcoming the new modules. 2003-11-24 03:47:49 +00:00
5a5ab62336 Fixed two minor warnings 2003-11-23 21:25:55 +00:00
18e5674ad7 - performance upgrade with the vgroup methods 2003-11-23 19:18:04 +00:00
e33b297a41 BPython:
-- Blender.Texture doc file, also by Alex Mole.

Three commits where one was enough! I feel stupid!
2003-11-23 17:58:26 +00:00
5e7f9dfa08 BPython:
-- New module: Blender.Texture, by new developer Alex Mole.
Most of it is done: guess only Ipo, envmap, colorband and plugin were not implemented yet.
2003-11-23 17:46:06 +00:00
90541541c3 Added all necessary BPY_extern.h include files to the .c files.
Updated the Make environment to point to the correct location. The include
paths were still pointing to source/blender/bpython/include while it should be
source/blender/python.
I did not encounter the build problems because I'm always working with the
autoconf build environment.
2003-11-23 14:28:46 +00:00
86a236b029 several warning fixes, for a bug-free *and* warnings-free 2.31 !
Just moved some declarations, nothing important.
2003-11-22 23:30:40 +00:00
f2a9e34346 - added vgrouping methods for renaming headers 2003-11-17 17:12:58 +00:00
61f203c80b - added vgrouping methods for renaming to documentation 2003-11-17 07:22:29 +00:00
33da577d34 - added vgrouping methods for renaming a vertex group and returning all vgroup names 2003-11-17 07:13:27 +00:00
61b3a9f8e1 - Lattice documentation 2003-11-14 01:10:59 +00:00
e3f6c6cfdc BPython: fixing a few warnings 2003-11-13 17:24:47 +00:00
994e0c40b1 - modified insertKey() to set current frame back to 1 instead of redraw the headers 2003-11-13 12:24:18 +00:00
a4aad039aa The new Lattice module for python
- enabled all the Lattice methods in Object.c
- added Lattice types to Types.c
- add Lattice initialization to Blender.c
- updated makefile for new lattice file
- added Lattice.c/Lattice.h
2003-11-13 04:00:59 +00:00
Stephen Swaney
bd993f13d4 unfix previous fix.
Scene and Text don't need their user counts adjusted.
2003-11-12 07:46:07 +00:00
Stephen Swaney
011203c45f fixed the bug Joseph Gilbert found in numerous python files.
newly created data objs had incorrect user counts.
2003-11-11 10:13:04 +00:00
1018943b3d Fixed some problems with makeParent() 2003-11-11 05:37:28 +00:00
c11eb86112 BPython:
- Fixed uninitialized NMFace.mode var in NMesh.c
- Incref'ed a couple Py_None's in Object.c
- Minor update in the docs, changed required version to 2.30
2003-11-08 02:19:09 +00:00
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