52e43441d1
removed unneeded dealloc functions
2007-03-15 01:47:53 +00:00
ee5dc4d0bf
removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
2007-03-15 01:09:14 +00:00
Stephen Swaney
26aa15969f
attempted fixage for gcc warnings with Python 2.5
2007-03-14 16:38:58 +00:00
5c5a80f644
made all python types that can do .__copy__(), also do .copy()
...
added copy function to lamp, texture and ipo types
2007-03-14 03:01:24 +00:00
d3ae4b9944
disabled Object.Duplicate() in background mode bacause it needs the 3d view, added a note in the docs.
2007-03-14 02:11:42 +00:00
5ae20c6eaf
renamed norepeatX/Y to ClampX/Y
2007-03-13 12:50:36 +00:00
df1df624ac
added back videoscape for python
2007-03-13 11:54:53 +00:00
0745133528
removed videoscape support, a format from 1988 that nobody uses anymore.
2007-03-13 10:00:27 +00:00
Ken Hughes
f9b20a37b2
Python API
...
----------
Chris Want on IRC pointed out a grammatical error in the Bpy doc file. While fixing
it, I found about a dozen more.
2007-03-12 19:45:42 +00:00
021cd4aac3
python api
...
removed most custom add_*data* wrappers from Main.c
removed makeCurrent() from Text.c (was never in a release), use "bpy.texts.active = text" now
clamp new image sizes
made add_empty_action accept a string rather then a blocktype since the blocktype was only being used to choose one of 3 strings anyway.
2007-03-12 06:21:58 +00:00
268fdb7425
added no-xtile and no-ytile to the images realtime properties and python api.
2007-03-12 01:43:11 +00:00
ffd91ac726
Fix for bug #6127 :
...
Import scripts could create meshes with old style edgecodes.
2007-03-12 00:30:46 +00:00
Ken Hughes
508a24269b
Python API
...
----------
Fixed some broken/disabled Texture attributes after Image refactor.
Added texture.autoRefresh attribute.
2007-03-11 18:20:55 +00:00
Ken Hughes
d60b05254d
Remove gcc compiler warnings from various files.
2007-03-11 17:31:27 +00:00
e0c77c0f14
made all data adding functions accept a name such as add_mesh or add_curve, previously only some datatypes adding functions accepted a name.
...
also updated the Bpy.py epydocs
2007-03-11 16:25:17 +00:00
f84c02429e
Documentation for the new automatically imported "bpy" module. (was Blender.Main)
2007-03-11 12:35:01 +00:00
1135434ed1
moved python functions that deal with blender libdata into gen_library.c from gen_utils and BPY_interface
...
small cleanup, removed unused functions and explicetly cast pointers..
2007-03-11 04:05:45 +00:00
36eba6eb6c
PyApi: fix for own bad bug, obdata was having a user removed when the object was removed with (scene.objects.unlink(ob))
2007-03-10 12:37:03 +00:00
a8695b1c6e
removed python oops access, (was unreliable and nobody used it)
...
oops data access need to be done differently.
Blender.sys fix for win32 path bug 6193
2007-03-10 11:47:24 +00:00
59ff076d03
Main
...
* Added bpy.*.new() - works for all except sound and font types
* Added bpy.*.load() - works for sound, font and image types
Text3d - removed unneeded check.
2007-03-10 09:43:43 +00:00
046508b78d
added "bpy" as a module imported by default to replace Blender.Main as a new way to access blender data
...
gen_utils was missing some type checks that made assigning a objects DupGroup and meshes texcomesh not work.
2007-03-10 06:33:19 +00:00
Ken Hughes
6da624fead
Python API
...
----------
Added Image.source attribute, so image type can be get/set for still, movie,
sequence or generated images.
2007-03-09 22:21:23 +00:00
Ken Hughes
cec9f42296
Python API
...
----------
Rearrange includes, remove dead code to fix gcc warnings.
2007-03-09 21:48:47 +00:00
Ken Hughes
b8e236a861
Python API
...
----------
Fix bug with variable declaration in middle of function.
2007-03-09 00:11:02 +00:00
5eaf9f90c1
BPython API
...
added a function - GenericLib_assignData for assigning blender data, to assign an ipo to a camera or world to a scene for instance.
Using this function removed ~300 lines of code.
also fixes user count error in some places that didnt check.
also made it possible to clear the colorband by setting it to []
2007-03-08 14:37:34 +00:00
8e0704f59a
Added python access to material and texture colorbands.
...
mat.colorbandDiffuse
mat.colorbandSpecular
tex.colorband
gen_utils - removed unused func
2007-03-08 06:35:01 +00:00
4bd5ab628b
== Multires ==
...
Fixed bug #6153 , Blender Crash during rendering (internal) with object selected in edit mode.
* Added a render parameter to several of multires's functions. If render==true, multires won't push data onto the undo stack, and regular Mesh data is always used (as opposed to EditMesh data.)
2007-03-08 05:54:39 +00:00
f361c49d70
Was missing a define for intern_pos_update, somehow GCC didnt complain but MSVC did.
2007-03-08 03:04:17 +00:00
9e2081a5fc
made alloc_sequence accept a linkedList so it can be used from Python.
...
the start/end points for new strips were not set properly.
2007-03-07 14:58:29 +00:00
d79f21eba7
DNA_meta_types.h - had a max element type defined that wasnt used anywhere, and some metaballs alredy use more then 1024 elements.
...
Metaball - added metaball.update attribute and constants Mataball.Update.ALWAYS, NEVER, HALFRES and NEVER
2007-03-07 09:53:40 +00:00
37c7d4d385
Type header_seq.c - Reassing Inputs -> Reassign Inputs
...
Mesh.c added new function to mesh - mesh.pointInside(vec)
2007-03-07 08:53:26 +00:00
Ken Hughes
69dc499ee7
Python API
...
----------
Add some missing Py_DECREF() calls.
2007-03-07 00:56:09 +00:00
Ken Hughes
b68ecc9f8b
Python API
...
----------
Converted CurNurb module to tp_getseters.
Added patch #5761 to provide read access to NURB knot vectors.
2007-03-06 18:55:35 +00:00
Ken Hughes
e85228cfd9
Python API
...
----------
Bugfix #6166 : Mesh.getFromObject() didn't accept three parameters.
2007-03-06 18:35:03 +00:00
Ken Hughes
67e1188eb7
Python API
...
----------
Forgot to put sentinel at end of Curve_getseters, probably the cause of
crashes on OSX (thanks Stephen!). Also add doc strings for attributes, add
missing "taperob" attribute to python docs.
2007-03-06 16:50:58 +00:00
69a46946e1
adding experemental sequencer module, This may change or be removed before next release.
...
scene.sequence - This is an iterator that loops over strips, metastrips are intern iterable.
currently has support for dealing with scene strips and metastrips, generic strip options and moving strips about.
2007-03-05 15:26:03 +00:00
Ken Hughes
5dfd59239b
Python API
...
----------
Conversion of Curve module to tp_getseters.
2007-03-05 03:44:48 +00:00
Ken Hughes
e276a6f748
Python API
...
----------
Removed prototype for recently-removed Blender_RemoveFakeuser().
2007-03-05 03:38:41 +00:00
Ken Hughes
5ddf565d66
Python API
...
----------
Fix potential problem with tex.evaluate(); calling multitex_ext() with
non-zero integers instead of pointers. Campbell, double-check that this fix
is correct, otherwise take another look at what it should do.
2007-03-05 03:34:40 +00:00
0a227f5e20
made it possible to set a modifiers object to None to remove the object
...
added initial support for the displacement modifier
2007-03-04 11:48:37 +00:00
ffab782e4c
Added functions to Text3d that allow modifying of text frames
...
* .addFrame()
* .removeFrame(index)
getseters
* .activeFrame
* .totalFrames
* .frameWidth
* .frameHeight
* .frameX
* .frameY
2007-03-03 14:05:36 +00:00
8437b84c45
Pose.c - added option not to update IPO's when adding a keyframe to a bone.
...
bvh_import.py
- delaying IPO updates gives a significant speedup.
- IPO's use linear interpolation now
- Added an option to loop the animation.
- fix for own bug, importing to empties never worked.
2007-03-03 01:29:22 +00:00
cf75e5b78c
Interface:
...
Added option "Load Factory Settings" in the "File" menu.
With this, users don't have to remove .B.blend if they want to load the default data stored in Blender. Thanks Ton for ok'ing it and suggesting a better place in the menu (I had put it as "New (factory defaults)").
2007-03-02 18:15:41 +00:00
b2acdd69b0
vector.c - bugfix, vec.w accessed vec[4] not vec[3]! (probably my fault)
...
Texture.c - added "val = tex.evaluate(vec)" so you can find the color/intensity at a given loaction for a texture.
2007-03-02 09:48:04 +00:00
335f3424ca
made libdata iterator types use existing function from BPY_interface - ID_asPyObject(*id)
2007-03-02 05:47:14 +00:00
585edac6d2
various warnings fixes - mostly casting and initialization issues
2007-03-01 21:30:48 +00:00
8e306366ef
own error, missing braces.
2007-03-01 15:40:13 +00:00
69eb4eefb5
Scene.c - world could not be set to None, added "cursor" attribute.
...
Scene.py - added docs for new scen attributes.
meshtools.c - typo
2007-03-01 13:22:26 +00:00
780177ec13
mis named Layer, should be Scene.Layers
2007-02-28 04:50:39 +00:00
4f9cb4c710
dumb error with Lattice getseters, found with a python random testing script
2007-02-27 15:59:25 +00:00