Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-17Reverting to 2_2x BPYMartin Poirier
I was careful in selectively rolling back revisions, but if you've committed changes unrelated to BPY mixed with BPY changes, I might have reverted those too, so please double check.
2007-11-07=Python API bugfix=Joseph Eagar
Scene.update(full=1) was pretty useless as it didn't actually evaluate the depsgraph DAG. This meant, for example, that re-evaluating the parenting tree for an armature pose could only be done by redrawing the view (which evaluates the depsgraph). scene_update_for_newframe() is now called when Scene.update is in "full" mode; to prevent firing off newframe scriptlink events, scriptlinks are temporarily disabled while scene_update_for_newframe() is being called.
2007-07-25removing unneeded checksCampbell Barton
2007-07-01replace PyInt_CheckExact with PyInt_Check, same for floats and strings so ↵Campbell Barton
subclass and C/subtypes work. was reported as a bug a while ago.
2007-06-16Python PyMethodDef supports single argument methods (METH_O) but was using ↵Campbell Barton
METH_VARARGS everywhere and getting the single args from the tuple. Use METH_O where applicable.
2007-05-29== PY API ==Joshua Leung
Added some braces to silence gcc warnings about scene.c
2007-05-28more memory leak fixes, though only a few are likely to happenCampbell Barton
2007-05-26More memory leaks fixed - in IDProp, Bone.head, tail, matrix, ob.DupObjects ↵Campbell Barton
(my fault) and in Effect module as well as a few others. Also stopped using Py_BuildValue for strings, ints and floats.
2007-04-30Scene.c - scene.objects.context how dosnt include hidden objectsCampbell Barton
editview.c - deselect all ignores restricted objects headerbuttons.c - removing a material didnt redraw the 3d view vpaint.c - disable vpaint for mesh libdata as well as object libdata
2007-03-31Python APIKen Hughes
---------- Change deprecation printfs to print warning once instead of everytime the deprecated method is called. Also commented out deprecation warnings for code which will eventually be replaced by experimental Blender.Main/bpy module.
2007-03-30allow dealing with vertex groups once an object is created from a mesh.Campbell Barton
2007-03-30added Window.Get/SetActiveLayer() and changed how scn.objects.new() works, ↵Campbell Barton
if scn is the active scene it uses the 3d views active layer to create the object in.
2007-03-26Python APICampbell Barton
made all libdata hashable - use the object type,name and lib for the hash. added .tag to libdata so we can test if data's been processed without using dictionaries added libdataseq.tag (write only) setting the tag flag (which can always be dirty)
2007-03-21Python APIKen Hughes
---------- Support for new bpy.libraries module, which is being proposed to replace the Blender.Library module.
2007-03-15removed unneeded dealloc functionsCampbell Barton
2007-03-15removed duplicate functionality, macro's and functions existed to check a ↵Campbell Barton
PyObjects type, now only use macro's
2007-03-11moved python functions that deal with blender libdata into gen_library.c ↵Campbell Barton
from gen_utils and BPY_interface small cleanup, removed unused functions and explicetly cast pointers..
2007-03-10PyApi: fix for own bad bug, obdata was having a user removed when the object ↵Campbell Barton
was removed with (scene.objects.unlink(ob))
2007-03-10removed python oops access, (was unreliable and nobody used it)Campbell Barton
oops data access need to be done differently. Blender.sys fix for win32 path bug 6193
2007-03-09Python APIKen Hughes
---------- Fix bug with variable declaration in middle of function.
2007-03-08BPython APICampbell Barton
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-05adding experemental sequencer module, This may change or be removed before ↵Campbell Barton
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-01Scene.c - world could not be set to None, added "cursor" attribute.Campbell Barton
Scene.py - added docs for new scen attributes. meshtools.c - typo
2007-02-28mis named Layer, should be Scene.LayersCampbell Barton
2007-02-25made attributes (name, property, users, fakeUser, lib) into functions all ↵Campbell Barton
python types can use. removed a lot of code duplication when moving to this. Also removed unused functions GetMaterialByName(), same for Mesh, Object, World etc.
2007-02-25SceneCampbell Barton
* Moved to getsetattrs * added scene.users (get) * added scene.fakeUser (get/set) * added scene.world (get/set) * added scene.timeline (get) * added scene.render (get) * added scene.radiosity (get) * added scene.objects.camera (get/set) Group * added properties gen_utils * made getScriptLinks work as documented, return an empty list rather then None. header files, noted libdata after PyObject as a requirement. Others, * Deprecate prints for older functionality EpyDocs still need updating.
2007-02-23BPython APICampbell Barton
* Added data.lib attributes to almost all data types, (except for Text3d and NLA) This is None or the path of the library as a string. * Main was giving a warning, Include Curve.h rather then CurNurb.h * Added Library.LinkedLibs(), returns a list of externaly linked libs.
2007-01-24* remove warning about add_only_objectNathan Letwory
2007-01-23use add_only_object to add a new object with defailts.Campbell Barton
2007-01-22creating new objects fromCampbell Barton
ob = scn.objects.new(arm_data) didnt work. Also added docs to Pose - that make an armature, add an action and add pose keyframes
2006-12-29Scene.c - deprecation warning for getSceneCampbell Barton
bvh_import.py - use old slow method of adding keyframes. setting IPO's was having problems.
2006-12-28made scn.objects more flexible... you can now things like...Campbell Barton
scn.objects.selected = [] # deselect all scn.objects.selected = scn.objects # select all scn.objects.context = [ob1, ob2...] Added epydoc examples and updates importer scripts to use this de-select-all method.
2006-12-27renameing datablocks was imposing a name limit on the python side.Campbell Barton
This isnt needed because the limit is alredy being set by rename_id() some other minor changed- use None returning maro
2006-12-24replaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on ↵Campbell Barton
reload. added camera.dofDist to the python camera module
2006-12-21Python APIKen Hughes
---------- Bugfix: Scene.objects.new() didn't check string inputs correctly.
2006-12-20Python APIKen Hughes
---------- Change Scene.objects.new() to accept the string "Empty" instead of Python None when creating new empty objects.
2006-12-17Python APIKen Hughes
---------- A more robust attempt to avoid creating non-Empty objects with no data while maintaining backward compatibility.
2006-12-15Wasnt initializing a pointer as null, messed up making new object namesCampbell Barton
2006-12-11renamed objects.add() and .remove() to .link() and .unlink() for scene and ↵Campbell Barton
group objects to be less pythonic and more like blender. for scn.objects.new() a optional second argument can be used to spesify the name. We still need a way to add a new Empty (some constant)
2006-11-19=ID Properties Python Update= Joseph Eagar
ID Properties binding have now been added for textures. Also, the beginnings of supporting "del IDProperty Object" (which basically removes the property from it's parent group then frees it) in python were done; really the only thing now is to figure out exactly *how* you overload the del operator. :S
2006-11-17Get rid of various warnings with gcc under linuxKen Hughes
2006-11-17=ID Properties Update= Joseph Eagar
This commit adds file reading/writing of ID properties to all ID types, and also adds python access for NMesh, Mesh, Scene and Image. Note that the file reading code might need some more work for certain future/planned features to save right. Also I updated a few comments in idprop.c.
2006-11-07move SPACE_* (enum) and SPACEICONMAX to DNA_space_types (being the more ↵Nathan Letwory
logical place than DNA_screen_types). SPACEICONMAX gets its value now through this enum, so it is not anymore easy to forget to update it correctly :)
2006-10-25was missing a return of len, so scn.objects.context was always returning 0Campbell Barton
2006-10-13mesh/animation exporters didnt work when there were no 3d views open, ↵Campbell Barton
because the Blender.Set('curframe', i) called a update command that resulted in no viewable layers updating. Made Blender.Set('curframe', i) do a scene_update_for_newframe(G.scene, (1<<20) - 1); removed 2 unused constants from Scene.c
2006-10-11Setting new objects scenes layers is & (1<<21)-1Campbell Barton
the scenes active object is only unset when unlinking - if the active object is being removed.
2006-10-10changed python scn.Layers get/set to mask off bits other then (1<<20)-1Campbell Barton
2006-10-10Mistake in recent schange to scn.objects.new() crashed Blender. fixed and ↵Campbell Barton
also stopped Mesh_FromPyObject() clearning a meshes object if not called with an object.
2006-10-09BPyRender.imageFromObjectsOrtho's now sets all layers visible,Campbell Barton
an error in Scene.c - scn.Layers disallowd all layer bits to be set. made image_billboard.py rotate all images to be verticle for more efficient packing, added the option not to pack resulting images into 1.
2006-10-07removed some unused vars from Curve and matrixCampbell Barton
scn.objects.new(None) - adds a new empty - new objects are selected by default now further stripped down the vector struct, the wrapped state was being stored and 2 places.