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-12-02minor update, "Draw Handles" wasnt working when disabled everywhere and ↵Campbell Barton
replaced some magic numbers
2007-11-23==Python API==Campbell Barton
made it possible to remove curves from python with "del curve[i]" mesh_edges2curves.py - remove unused function.
2007-09-03Update Python API to change to curve 'extrude' limit from 5 to 100.Ken Hughes
2007-08-01armature weakref fix from stable, Curve.c removed unneeded cruftCampbell Barton
2007-07-27missing include and added a warning to UIBlockCampbell Barton
2007-07-26fix from 2.44 for adding new curves.Campbell Barton
2007-07-21fix for Curve appendNurbCampbell Barton
2007-07-13Python APIKen Hughes
---------- Remove unused variable declaration which caused gcc warnings.
2007-06-29remove unneeded checks from the python APICampbell Barton
2007-05-28more memory leak fixes, though only a few are likely to happenCampbell Barton
2007-05-25Many long standing memory leaks fixed in the BPY api.Campbell Barton
Data from Armature.c and logic.c still leaks. Mostly todo with PyList_Append adding a refcount and the bpython api not decrefing. Also added some features needed to fix a bug in mesh_clean.py (ob.pinShape and ob.activeShape)
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-17Fix various gcc warning, unused variables and incorrect type passed toKen Hughes
*printf functions.
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-14made all python types that can do .__copy__(), also do .copy()Campbell Barton
added copy function to lamp, texture and ipo types
2007-03-11made all data adding functions accept a name such as add_mesh or add_curve, ↵Campbell Barton
previously only some datatypes adding functions accepted a name. also updated the Bpy.py epydocs
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-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-06Python APIKen Hughes
---------- 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-05Python APIKen Hughes
---------- Conversion of Curve module to tp_getseters.
2007-03-01own error, missing braces.Campbell Barton
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-16bugfix: #5581 Joining python created curves crashes BlenderStephen Swaney
Curve_appendNurb() was incorrectly appending Nurb to Curve rather than using BLI_addtail().
2006-12-27Python APIKen Hughes
---------- Perform better param checking on Curve bevel and taper objects so that an curve can't use its own object. Also stick a big warning in the docs for Curve.setTotcol(), which seems to be an extremely dangerous 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-26Python APIKen Hughes
---------- Add .materials attribute to BPy Curve API. Also clean up Mesh.materials documentation.
2006-12-23Python APIKen Hughes
---------- Bugfix #5492: correctly distinguish curves and surfaces in Curve iterator.
2006-12-17Python APIKen Hughes
---------- Bugfix #5447: bug in determining whether a Curve was a CurNurb or SurfNurb.
2006-11-14Python API:Ken Hughes
Bugfix #5075: make curve.update() recalculate bezier curve handles. This would/should be called after changing the handles of a BezTriple.
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.
2006-10-06added comparison function to many python types so you can do == and =!Campbell Barton
2006-08-28===Python API===Ken Hughes
New API for accessing surface data (SurbNurb type). Right now it's hooked in through the Curve API, since Curve.Get() doesn't differentiate between curves and surfaces. If the curve object is 2D (pntsv > 1), the SurfNurb object is created. It is similar to the CurNurb type but not identical. There are only attributes and no methods yet, and the only methods which will be added are the non-getStuff/setStuff kind. Read the documentation to see how it works (sorry, no examples yet). This is a work in progress. Don't be surprised if the API changes some more.
2006-08-15Added __copy__ to armature, material, curve, groupCampbell Barton
2006-04-16a little spring cleaning to remove some compiler warnings forStephen Swaney
implicit declarations, redundant redeclarations, missing initializers, nested externs and other cruft. Cleaned up includes and moved extern _Type decls from Types.h into Types.c since that is the only place where they are needed now. Did not touch Ipo.[ch] since work is on-going there.
2005-11-29-- Partial bugfix for #3186. curve.getControlPoint() wasn't DECREF-ingKen Hughes
values added to a list, causing a memory leak.
2005-10-11- force setResolu() to update all NURBS belonging to a curveKen Hughes
2005-09-29fix Curve.update() method to use new DAG features.Stephen Swaney
2005-09-12patch #3011 ] update to curnurb.setFlagU doc, added set and get for TaperStephen Swaney
Contributed by Toni Alatalo (antont). Support for Taper Objects for Curves. Code for curnurb.setFlagU() method not changed as per discussion on bf-python mail list.
2005-09-09BPython:Willian Padovani Germano
- Pontus Lidman contributed a new module: Blender.Key + access to key objects from NMesh, Lattice and Curve + docs (thanks and sorry for taking so long to check/commit the patch!) - Allowing EVENT spacehandlers to call the file selector (scriptlinks in general are not allowed, but this special case should be able to). Requested by Paolo Colombo (thanks!) - tiny doc update (Ken Hughes pointed an error in the space handlers example) I didn't have time to update the Key module to follow the current bpython design, will do that later and also test it better than I did.
2005-08-12 - remove some silly array copying code for nurb displist generationDaniel Dunbar
- converted dl->flag to use consistent defines for cyclic U/V
2005-07-18Header file clean up and warning fixesJoseph Gilbert
- Mostly this cleans up the #includes and header files in the python project. - Warning fixes are mostly casting issues and misc fixes. General warning clean up. - #include Python.h MUST come as the first include to avoid the POSIX redefine warning in the unix makefiles - fno-strict-aliasing flag added to makefile to fix a unavoidable type punning warning in types.c
2005-07-14 - switch several instances of makeDispList to use more specific versionDaniel Dunbar
2005-07-14 - split makeDispList into makeDispList{Mesh,MBall,CurveTypes}, there isDaniel Dunbar
still a makeDispList that dispatches to the appropriate one. makeDispList is on the way out and this makes it easier to track down exactly which places use makedispList and for what types of objects. - switch calls to makeDispList to appropriate more specific function (if the object type is known by caller). - added mesh_changed function that invalidates cached mesh data (but does not rebuild, mesh data gets rebuilt on access). Most old calls to makeDispListMesh use this instead now.
2005-06-17Some of the setattr functions created a tuple to pass to the set* functions ↵Martin Poirier
and didn't decref'ed it properly, "leaking" memory. Commit approved by stivs.
2005-06-13Patch from Martin Poirier.Stephen Swaney
Misc bpy Curve fixes and updates, includes bugs #1687 and #2637
2005-05-12bugfix: #2254 Curve.appendPoint() gives segfault in PySequence_Check().Stephen Swaney
Argument tuple not built correctly for CurNurb_appendPointToNurb().
2005-04-17New methods for Curve module: getBevOb() and setBevOb()Stephen Swaney
Adds ability to set, clear and get bevel object for a Curve. Contributed by Gergely Erdelyi (dyce). Thanks!
2005-03-19- patch submitted by guitargeekJoseph Gilbert
-includes: *Text3d accessors - ablity to manipulate FONT objects through python *update to Object.link - calls text_to_curve upon ob_font link for drawing *update to constant.h - constant type checking define *update to curve.c - clamp values on getters/setters *clean up of Text3d module