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
2005-05-24updates to doc strings in code and doc from Ken Hughes.Stephen Swaney
add alias .recalc() for IpoCurve.Recalc() to match api standard.
2005-05-20corrections and missing ipo channels for Camera, World, MaterialStephen Swaney
and Lamp. Contributions from Ken Hughes.
2005-04-24New IPO methods.Stephen Swaney
Ipo.delCurve( curve_name ) deletes named curve from IPO. Ipocurve.delBezier( int ) deletes point at index from Ipocurve. Contributed by Ken Hughes (khughes). Thanks!
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.
2005-03-09big warning hunt commitJean-Luc Peurière
lot of casts, added prototypes, missing includes and some true errors
2005-01-07bugfix: #2093 Ipo.addCurve() adds curves of undefined typeStephen Swaney
added some error checking and did a little cleanup. still more to be done.
2004-12-21bugfix: #2032 Ipo_woIcuName() uses CAM instead of WO constantsStephen Swaney
Wrong constant names. Fix contributed by Joilnen B. Leite <pidhash>
2004-12-17bugfix: #2025 getCurveBP (and others) segfaultStephen Swaney
This method is now unsupported. The original intent appears to return the first BPoint of an Ipo curve. However, BPoint Ipo curves are not implemented and the first point therefore never existed. The segfault was from an unchecked input parameter. Calling this method now always throws a NotImplemented exception.
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-09-03Ipo.cKent Mein
Removed a block of a bunch of unused vars... Added a return NULL to the end of a funtion that is suppose to return something and could fall through. editconstraint.c Added a newline to the end of the file to get rid of a stupid warning. Kent
2004-08-14Fix two problems in my code as reported on Forums and in release article ↵Nathan Letwory
thread on frontpage: * Quaternion action ipos accidently got swapped in the Ipo module * Ipos not editable if not linked to a datablock (was possible in 2.33a) Also fixed a typo in Object.getMatrix(): localespace -> localspace And I add: * channels Key 32 through Key 63 for relative vertex keys
2004-07-27Nathan's huge ipo patch.Ton Roosendaal
- now more than 31 channels possible for ipos - added lotsa new channels all over - Texture block has ipo now too - recoded getname_ei functions (Will ask nathan to give release log info when he's back!)
2004-07-26roll back changes made in Ipo.c version 1.25 so we canStephen Swaney
easily apply Nathan's ipo patch which was made against version 1.24. this version is the same as 1.24
2004-07-25BPython:Willian Padovani Germano
- new submodule Scene.Radio, for radiosity: still incomplete, but in shape for demos, updated SConscript to include it; - new functions in Window module; - doc updates: adding a todo file and a new start page for our docs: API_intro.py + other updates; - small fix in Ipo.c provided by Damien McGuinnes (thanks!): Nathan has a patch with IPO additions and fixes for this and more, but until it is committed, there's this fix for Ipo.getCurve('LocX'), LocY, Z and QuatW,X,Y,Z too, according to Damien. Other files: - radpreprocess.c: added check for "during_script()" so eventual msgs don't popup during scripts; - drawmesh.c: made a pointer (display list) be checked before accessed, fixes crash in scripts that forget to update display lists for subsurf meshes when a 3d view is in textured view mode. Script: updated bevel_center by Loic Berthe.
2004-06-07Replace deprecated methods from old api:Stephen Swaney
PythonReturnErrorObject PythonIncRef Fix some compiler warnings about missing initializers in method tables.
2004-05-25Changed parameters names in addCurve function (suggested by Paolo)Jacques Guignot
DLoc* --> dLoc* DRot* --> dRot* DSize* --> dSize* updated doc (Ipo.py)
2004-04-26bugfix: Ipo.addCurve() was creating a new Ipo block and adding curve thereStephen Swaney
instead of adding curve to existing Ipo. reported on elysiun.
2004-03-29General housekeeping and cleanup. Move static declarations andStephen Swaney
data definitions from .h files into corresponding .c files. Blame zr for this since he's the one who pointed out that our bpy headers were a mish-mash of stuff that belonged in the .c files! In a nutshell, the headers should contain the declarations necessary to use a module or class. The implementation files ( .c in this case ) should contain statements that allocate storage ( definitions in the C sense ) and executable code. When used at file scope, the keyword 'static' means "don't tell anyone else about this". Since headers describe a public interface, static declarations and definitions belong in the implementation files. The net result of all this is that after stuff has moved out into the .c files, the .h files are empty or mostly empty. I didn't delete them since there seem to be some public declarations and because I did not want to cause too much disruption at one time. Time enough for that later!
2004-03-05Fix for Bug 1039Stephen Swaney
Changed doc to match the parameters for Ipo New() method. Corrected error message for expected argument types in New() method.
2004-01-21BPython:Willian Padovani Germano
-- removed struct Script (DNA_script_types.h) from makesdna to blender/include/BPI_script.h (BPI meaning Blender Python-related external Include file). Had agreed with Ton that makesdna was not the proper place for it. -- fixed two small warnings in Ipo.c (variables might be used uninitialized) -- fixed a bug reported on blender.org's python forum by Wim Van Hoydonck (aka tuinbels): Blender would hang if a script failed. My fault, accidentally put a node=node->next type call outside the while loop check, so it never ended. With makesdna/DNA_script_types.h removed and include/BPI_script.h added, msvc projectfiles will need to be updated. Sorry to do it now, but I promissed I'd fix this before next release.
2004-01-19moved a local variable declaration, which crashed MSVC... Picky compiler...Jacques Guignot
2004-01-19fixed a bug in addCurve function. The semantics has not been changed. Tkx to ↵Jacques Guignot
jms for pointing it.
2003-12-19Bug fixes (sigh...)Jacques Guignot
2003-12-17Modification of the function getCurvecurval suggested by Jiba. This function ↵Jacques Guignot
can take an integer argument (the position of the curve) or a string (the name of the curve) Updated documentation in doc/Ipo.py
2003-11-11fixed the bug Joseph Gilbert found in numerous python files.Stephen Swaney
newly created data objs had incorrect user counts.
2003-10-29removed duplicated arraysJacques Guignot
2003-10-28Exppython:Willian Padovani Germano
- Small fix in NMesh.c - Updates to ipo related methods in Camera, World and Material - Doc updates
2003-10-26added a new function : getCurve(string) allowing access to an ipo curve from ↵Jacques Guignot
its name.
2003-08-01Added a new function (member of the Ipo object) EvaluateCurveOn(int pos, ↵Jacques Guignot
float time) which returns the value of the ipo curve number pos at the given time. Updated doc accordingly.
2003-07-21* Fix small compilation problem in Ipo.cMichel Selten
Moved the declaration of a variable to the beginning of a function.
2003-07-21reincorporation in the cvs of modifications which had been lost.Jacques Guignot
2003-07-20* removed the #include .c statements and replaced them with corresponding .hMichel Selten
files. * updated the build environment to include the needed .c files. * Updated the modules.h file to expose the necessary functions to other modules.
2003-07-19World : got rid of debug messagesJacques Guignot
Blender : declatation of the module IpoCurve Ipo : modifications (new attributes) to keep the compatibility with 227 api
2003-07-10minor changes; deleted unuseful functions.Jacques Guignot
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-12* Small changes in many files:Willian Padovani Germano
- Trying to fix linking problems in OSX; - Making module .Get functions behave like the ones in Blender 2.25 - 2.27 (Guignot pointed the incompatibility); - Included more types to Blender.Types; - Found by luck and corrected two bugs that were making Blender crash; - Added/updated some simple functions.
2003-06-05* Added two modules:Willian Padovani Germano
Guignot contributed the Ipo and Metaball modules. Metaball wasn't available in the 2.25 API, it's a new addition. * Minor changes in other files.