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
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-02-24Patch #8344:Joshua Leung
Submitted by: Thomas Knight (epat) Parts committed: 1) Fixed a few misspellings in some error strings. 2) Fixed a (theoretical) bug with pyconstraints where a text object could be deleted from python but would remain linked to the constraint it was assigned to - causing slight UI usage discontinuities! Not committed yet: 3) Particle system bugfix in this patch has not been committed. Could jahka or brecht check this.
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-06-29remove unneeded checks from the python APICampbell Barton
2007-06-16Python API, more METH_VARARGS to METH_OCampbell Barton
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-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-15removed unneeded dealloc functionsCampbell Barton
2007-03-12python apiCampbell Barton
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-11Remove gcc compiler warnings from various files.Ken Hughes
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-02various warnings fixes - mostly casting and initialization issuesJoseph Gilbert
2007-02-25Image.cCampbell Barton
* moved to getseters (use new generic ID funcs) * added 'reflect' attribute Text.c * moved to getseters (new generic ID funcs too) NLA.c * moved to getseters (ditto) Ipo.c * bugfix, allow nested loops on an IPO's curves. Blender.c * removed undocumented function RemoveFakeuser, since actions now have the fakeUser attribute.
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-22Adding a new way of dealing with library data in blender, Blender.BaseCampbell Barton
Has a number of advantages over the existing method, described here. http://wiki.blender.org/index.php/User:Ideasman42#Post_2.43_Update_to_the_Python_API Only missing functionality is the ability to add new data through Base.scenes.new('name'), where scenes could be meshes, texts etc. Other changes are minor, Scene.h, bad var name in definition. Text.c/h - moved the Python Struct into the header file, added BPy_Text_Check()
2007-02-21text.makeCurrent() works now, it depends on the script menu type, so will ↵Campbell Barton
only work from some menu's.
2007-02-21adding menu slot ArmatureCampbell Barton
adding menu slot ScriptTemplate new script scripttemplate_mesh_edit is a template for an editmesh script. The function Text makeCurrent() is a dummy until I can get it working when the script runs from a menu.
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-10-06added comparison function to many python types so you can do == and =!Campbell Barton
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-03-19BPython:Willian Padovani Germano
- Scripts: fixed error in "Save Current Theme" which prevented it from automatically updating script registration in menus. cosmetic changes in a couple of Campbell's sel_same.py script strings + more descriptive name for its new menu place (3d view, face mode -> select menu). small updates to help_browser.py script. The above changes are related to this: - Added new script menu entries: Render (for exporters to renderers), Themes, FaceSelect (this already at the proper place). Updated Scripts win->Scripts menu so it won't show all available entries, only the ones we mean to see there. - Updated menu registration so that scripts folders can become trees. The release/scripts/ dir should be updated soon with subdirs like converters/, modifiers/, generators/ or whatever -- better discuss first (or is it? /me afraid of long irc discussions during meetings :) ). - Modules: Blender: added 'udatadir' option to .Get() function and added var Blender.mode to tell if Blender is in bg or interactive mode. NMesh: added Campbell's nmesh.transform(matrix, recalc_normals = False) method (reworked, so my fault if it doesn't work). - Bugs fixed: #2123: http://projects.blender.org/tracker/?func=detail&atid=125&aid=2123&group_id=9 Reported by Ken Hughes (thanks!), who also found the exact problem later (it was in Text.Load, not with script links -- if only I had checked emails these days ... lost > 1 hour today to find the problem: passed filename to M_Text_Load was later being written over by a function called by add_text). Also saw that Text.Load wasn't checking existence of passed filename (duh!), now it does. #1655: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1655&group_id=9 Reported by Chris Want (thanks!): command line "blender -P script" not working properly for bg mode ("blender -b blendfile -P script"). Had to make some small updates to get it working (bg mode for scripts was never explicitely handled, it worked due to collateral effects, let's say), interested readers can check the report after I update it or the API_intro.py doc file. After more testing we can make further updates. Updated many places to not call redraws if in bg mode, now it is officially available. Blender outputs its own info when rendering in bg mode, if that is considered a nuissance we'll have to add a few "if (during_script())" calls outside bpython. - Removed a few warnings here and there and also updated docs.
2004-10-07Another step in the Big Bpy Cleanup.Stephen Swaney
- move static declarations and data definitions out of headers. the BGL module still need cleaning. - move declarations out of modules.h and into appropriate .h files. modules.h still exists as a container for the few modules that need to #include almost everything. - all files now have a $Id tag and have been formatted by indent there are no changes to executable code. pre-commit versions are tagged with bpy-cleanup-pre-20041007 for the sake of paranoia.
2004-09-26Another round in the Great BPy Cleanup:Stephen Swaney
Run everything thru indent to cleanup spaces vs tabs. Clean up some of the comments by hand. BGL.c was not touched due to all that macro wackyness. There are no functional changes to the code. Pre-indent versions of source are tagged with tag bpy-cleanup-20040925 , just in case.
2004-09-18One small part of the Great Bpy Code Cleanup.Stephen Swaney
Add cvs $Id tag to files
2004-06-07Replace deprecated methods from old api:Stephen Swaney
PythonReturnErrorObject PythonIncRef Fix some compiler warnings about missing initializers in method tables.
2004-05-23BPython:Willian Padovani Germano
- updated docs with recently added functions - dynamic menu entries now are sorted (alphabetically, of course) - added new menu categories for scripts: Wizards, Modifiers, Generators, Materials, Animation: only added to list of options, didn't mess with any Blender header. They are already available from the "Scripts" menu in the scripts win, but not elsewhere. - added option 'datadir' to Blender.Get(option): so scripts can use .blender/bpydata for reading / writing their data files.
2003-11-12unfix previous fix.Stephen Swaney
Scene and Text don't need their user counts adjusted.
2003-11-11fixed the bug Joseph Gilbert found in numerous python files.Stephen Swaney
newly created data objs had incorrect user counts.
2003-08-03Exppython:Willian Padovani Germano
Text module: trying to get the filename attribute didn't check for NULL. Reported by Stani Michiels. Fixed now.
2003-07-05Exppython:Willian Padovani Germano
- Continued getting rid of print methods and updating repr ones: Needed to fix crashes on Windows >= 98 systems. - Found and fixed a few small memory leaks in EXPP_interface, related to execution of script links.
2003-06-28- More renaming all around to follow our conventionsWillian Padovani Germano
- Implemented partially Blender.Sys - Worked on issues related to sys, path - Took away most "debug" printfs
2003-06-26* Added function Blender.Draw.GetStringWidth().Willian Padovani Germano
* Added doc and small test for Blender.Test * trying changes to make Blender.Test.unlink() safer.
2003-06-24* Added more doc files for epydoc and a test for the camera module.Willian Padovani Germano
* Moved public declarations in camera and lamp to a new file: bpy_types.h. * Fixed minor bugs in material, rgbTuple and Lamp + other minor changes. * Made part of the changes to conform to decided naming conventions.
2003-06-09* Applied a small fix to a bug reported by Guignot:Willian Padovani Germano
When a script that used setAttr for Camera Data objs (the bug also affected some other modules) was executed multiple times, Blender would crash after, let's say, the first 5 or 6 tries. Problem, as Guignot pointed, was with reference counting. Should be ok now, all affected modules were fixed. * The Scene module is now "complete" (= 2.25). * Made some necessary updates to Object and NMesh.
2003-06-03* Fix compilation errors on Windows hopefully. Implemented the suggestion doneMichel Selten
by Aphex - thanks. * Added the doc strings to the Object module. * Added more functionality to the Object module.
2003-05-21Implemented the compare callback for Camera, Image, Lamp and Text types:Willian Padovani Germano
Following a suggestion made by Jordi Rovira i Bonet, the comparison now is made via the pointers to the Blender objects, not their py wrappers.
2003-05-17* Added submodule NMesh:Willian Padovani Germano
Partially implemented. Most of it comes from opy_nmesh.c, plus needed changes to integrate in into exppython. * Added helper submodule vector, needed by NMesh. * Minor changes in other files.
2003-05-13* Added 3 missing functions, 2 of them called by blender/src/drawtext.c:Willian Padovani Germano
Callbacks registered with Draw.Register in Python are called now. That should fix submodule Blender.Draw. * Added a few other missing functions to BPY_interface.c * Finished implementing Get() function for Camera, Lamp, Image and Text: Both the .Get(name) and .Get() cases are handled now. * Added function Blender.ReleaseGlobalDict(): This function should give script writers control over whether the global Python Interpreter Dict should be cleared after the script is run (default is to clear). This is a test.
2003-05-09* Implement Blender_Redraw(), minor changes in other filesWillian Padovani Germano
* Implemented submodule Text