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-28Compiler warning fixes:Joshua Leung
* in scene.c in blenkernel, set_last_seq (defined in src - editseq.c) is called... this may/may not need some stubs for game-engine stuff * removed unused vars due to old particle-effects stuff
2008-04-27remove old particle system.Campbell Barton
also removed quat, dquat, and sumohandle from the Object struct since they aren't used anywhere.
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-01-19add the option to add the parents time offset value.Campbell Barton
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-08-05Little code cleanup. Joshua Leung
bsystem_time was being called with an extra variable, which was useless. Most of the places that called it, were passing NULL for that variable anyway. I've also cleaned up that function a bit, but the underlying problems with that part of the code still exist (EVIL GLOBALS that are exported for frame_to_float), for mblur and fields rendering features. That remains for another time.
2007-07-03was missing a decref and leaking ram when building the static particle listCampbell Barton
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-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-04-18 == Python API ==Jiri Hnidek
Bug fix for Effect.setStype().
2007-03-15removed unneeded dealloc functionsCampbell Barton
2006-08-18===Python API===Ken Hughes
Patch from jms: adds attributes effect.disp and effect.staticStep.
2006-08-14===Python API===Ken Hughes
Fix compiler warnings in Sound.c and Effect.c.
2006-08-09Commiting JMS's patch for particles with modifications.Campbell Barton
2005-11-30-- previous commit was decrefing a borrowed reference; thanks Ascotan forKen Hughes
tracking this down!
2005-11-30-- Bugfix #3186: Fix memory leaks caused by multiple calls toKen Hughes
PyDict_SetItemString() with objects that were not properly decrefed afterwards. Due to the number of places this was used, I added a wrapper EXPP_dict_set_item_str() to gen_utils.c to handle it. This started as a scriptlink bug, due to how many times scripts were being executed I think it just magnified how bad the memory leak in BPy was. Animating the blend attached with this bug report would cause memory to grow by about 3MB for every 280 frames. After the patch, memory did not appear to grow at all (or at least not noticably using Unix's ps and top utils). Since many of the PyDict_SetItemString() calls were in initialization modules I think my tests executed most of the changed code, but would appreciate script users really giving feedback.
2005-11-29* warnings fixesJoseph Gilbert
2005-11-20-- removed GetParticlesLoc() function, which was replaced byKen Hughes
getParticlesLoc() method
2005-11-19-- fix bug which used unitialized pointer in M_Effect_New.Ken Hughes
2005-11-17-- add support for new particle effectsKen Hughes
2005-11-07- warning fixesJoseph Gilbert
* various warnings the python api is putting out
2005-11-07-- Clean-up of Effect and Particle modules; since particle was the onlyKen Hughes
remaining effect type, it didn't make much sense to leave things implemented in two separate files. Changes include: * two bug fixes (the getChild() and getMat() methods were using floats instead of shorts) * performing clamping on input values * implementing attributes using tp_getset * merging Effect and Particle functions: the Particle module exists in name only, with the Particle.New() and Particle.Get() functions remaining for backward compatibility (they are in fact identical to Effect.New() and Effect.Get() functions) * update of doc/Effect.py (including remove all old references to wave and build effects)
2005-11-04- JMS's patch which adds GetParticlesLoc() method. I've modified the codeKen Hughes
so that it resides in the Effects module instead, with the intent of soon merging Effect.c and Particle.c into a single file (and somedat removing references to the Effects.Particle submodule)
2005-07-26 - added wave modifier & removed old wave effectDaniel Dunbar
- added decimate modifier & removed old decimate interface (currently lacks warning about destroying data, and there needs to be a way for modifiers to return errors back to the interface) - allow applyModifier to return NULL to indicate error - unfortunately new decimate modifier means it does not know exact number of faces in mesh (other modifiers may come before) and so instead interface uses a percentage. if people need exact face count slider then I will have to think of some hack to fit this in. note that it does display the output face count so its possible to tweak the pct to get what you want regardless. - removed python Wave object If you are bored now how much easier it is to implement something like decimate as a modifier. Very few changes to interface, very few entry points.
2005-07-20 - added modifier_dependsOnTime to check if modifier needs updatingDaniel Dunbar
based on time change. would be nice if dep graph could handle this. - made dep check if modifiers need update on time change - fix render crash (access null) - added new Build Effect modifier type. compared to old one works as a full member of modifier system, means can apply subsurf, etc on it, reorder, what have you. and it is all nice and self contained. - removed old Build effect, old files convert to new style on load - couldn't help myself, added a randomize feature to build effect - removed Python BuildEffect support
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
2004-10-31BPython -- a few fixes:Willian Padovani Germano
-- fixed bug #1689: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1689&group_id=9 Reported by Tom Musgrove (thanks), the problem was that Window.QHandle was not passing events to windows that had id's below the current active window. It was a stupid mistake (mine), the code was iterating from curarea instead of from the first area in the areabase list. -- fixed bug #1568: http://projects.blender.org/tracker/index.php?func=detail&aid=1568&group_id=9&atid=125 Stephen investigated the problem, reported by Gabriel Beloin, and left hints in the bug report, thanks :). I also implemented what he suggested, now Effect.Get('objname') returns a list with all objname's effects and as before, Get('objname, position') returns the effect at position 'position'. Ref doc already updated. -- Allowed menu registration lines to appear commented out -- Python comments: '#', of course -- (suggested by Michael Reimpell) in scripts: Some Python doc tools need the doc strings between triple double-quotes, so to avoid conflicts scripts writers can now comment out the registration code, it should work anyway. Michael also provided a patch for this a few days ago, too (thanks), but to keep changes at a minimum because of proximity to a release I didn't use it.
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-04-23BPython:Willian Padovani Germano
- fixed two warnings, unused var in Object.c and undeclared function in script.c - updated Blender.Draw doc, it was missing info about Button object - refactored pytype initialization to try to fix for once platform (and distro!) specific crashes on startup. This asked for tiny updates in Effect.[ch] (removed static from declaration, moved definitions to the .c file) and modules.h - fixed error I made trying to fix scripts w/ no [eol] char in menus. Thanks Michael Velikanje for reporting the problem!
2003-07-04Following Willian's proposal,deleted the print function, which caused crashes.Jacques Guignot
The objects are now printed with the repr function.
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-27end of cleanup ; naming conventions, balance between c and h filesJacques Guignot
2003-06-21very last test.Jacques Guignot
2003-06-21*** empty log message ***Jacques Guignot