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-04-15Similar to last commit, This initializes the pd pointer if it is null for ↵Johnny Matthews
Particle interaction. for all the PI functions
2005-04-15This commit initializes the softbody pointer if it is accessed through ↵Johnny Matthews
python and has not yet been set up.
2005-04-14Adds getTimeCode() to Rendering Context so that you can get current frame in ↵Johnny Matthews
HH:MM:SS:FF string format
2005-04-14Adds API for Particle Interaction Settings and Softbody SettingsJohnny Matthews
Also adds docs for above API. My testing cases seem to work fine. Please test to make sure I have not missed anything! Stivs, I got ascotan's signoff on thses. But please make any adjustments that you deem needed. Johnny
2005-04-11 - It is possible to scale radius of MetaElem again.Jiri Hnidek
- It is possible to change dx, dy and dz params in 3Dview with manipulators or with some shortcuts (S-X, S-Y, S-Z). - User can scale stiffness when green circle is selected. - MetaElem is selected with RMB click at green or red circle, then user can grab or rotate with MetaElem as usual. - Screenshot: http://e-learning.vslib.cz/~hnidek/pics/scale_stiffness.jpg - Captured video: http://e-learning.vslib.cz/~hnidek/captured-videos/scale_stiffness.avi
2005-04-04 - work-in-progress: subsurf level 0 now just acts like a regular mesh,Daniel Dunbar
before it would follow subsurf code path by creating fake displistmesh, etc... kinda fun for testing but just annoying now. - change to creasing behavior, to make sure that with full creasing effect is just simple subdivision.
2005-04-02A little housekeeping:Stephen Swaney
Object.c - expand evil 1 character name. nicer error msg. doc/Object.py - clarify Object.getData() doc
2005-04-02 - add include for allqueue prototypeDaniel Dunbar
2005-04-02 - got tired of str[n]casecmp not declared warningsDaniel Dunbar
- added BLI_str[n]casecmp, use instead of regular versions - rewrote BLI_str[n]casecmp to not be stupid
2005-03-31Changing hard codec max frame release for a define (in blendef.h with the ↵Martin Poirier
other maximums). Tried to change it everywhere, hopefully I didn't miss any. Also raised max frame to 30000 (maintainer of that code can safely modify it back since it is in one spot now ;) ) Needed that limit for a marketing video contract, might as well commit it.
2005-03-29 - added Mesh->derived and Mesh->decimated DerivedMesh pointersDaniel Dunbar
- removed DL_MESH displist type!!!! Now store a DerivedMesh directly. - May still be some issues left having to do with releasing this at the right time (old code just splashed free_displist all over the place).
2005-03-28 - update NMesh.c to use DerivedMesh APIDaniel Dunbar
2005-03-27Adding some docs for camera insertIpoKey additionsJohnny Matthews
2005-03-27New Bpy method: Camera.insertIpoKey()Stephen Swaney
Contributed by Johnny Matthews (guitarGeek)
2005-03-26Updated Bpy method Object.getData() now supports new Text3d type.Stephen Swaney
Contributed by Johnny Matthews.
2005-03-26Adding some docs for world and lamp insertIpoKey additionsJohnny Matthews
2005-03-26More Bpy goodness!Stephen Swaney
New insertIpoKey() methods for Lamp and World types. Contributed by Johnny Matthews (guitarGeek)
2005-03-22BPython:Willian Padovani Germano
-- Stephane Soppera (thanks) reported libc stat function fails for paths ending with "\" under win with free VC++ compiler toolkit 2003: removed final '/' (BLI_make_file_string changes the '/' to '\\\\' for win) slashes from relevant paths, that should take care of it . Note: here (linux, glibc, gcc 3.3.3) stat doesn't have this problem. Also checking if U.pythondir ends with a slash and, if so (as long as its length > 2 to), removing the slash, for the same reason. -- small cosmetic changes in BPY_menus.c for debug msgs and in header_scripts (added a separator in the Scripts win -> Scripts menu).
2005-03-21Scripts (making some changes to the scripts dir):Willian Padovani Germano
- moved bpydata/ to scripts/bpydata/ and added a config/ subdir to it; - created scripts/bpymodules for py modules (also got rid of those "mod_"'s appended to the files); - updated scripts accordingly. This will require you to "reinstall" (just copy the scripts/ dir over your older one) if you have a .blender/scripts/ dir somewhere. Otherwise some scripts won't work. You can use the updated "Help->System->System Information" script here to check all is fine. An installer script yet to be written will help users with these issues, specially to make the user defined dir have the same structure expected from the default scripts dir, so the basic facilities (module search; saved config data; scripts: installer, help browser, config editor) are also available for a user's own collection of written and downloaded scripts. BPython: - slikdigit's crash was because he had no <home or blender exe location>/.blender/: proper check added and also now if all else fails the <cvsblender>/release/scripts/ dir is also searched for scripts. All this registration dirs stuff is a little messy (installation!), so please report any troubles (I only tested on linux). - slight change in error report in BPY_interface.c's BPY_menu_do_python; remembering to set globaldict pointer to NULL there, too. - moved bpy_gethome() to EXPP_interface.[ch] - "//" as user defined python dir is ignored while looking for scripts, considering it's only a default some users use, not really meant for a scripts dir.
2005-03-20Adding some docs for material insertIpoKey additionsJohnny Matthews
2005-03-20New Material method: insertIpoKey( key_type )Stephen Swaney
inserts material ipo key at current frame. contributed by Johnny Matthews.
2005-03-20correct bad reference to getDrawMode.Stephen Swaney
2005-03-20Adding some docs for Object insertIpoKey additionsJohnny Matthews
2005-03-20Adding some docs for Text3d additionsJohnny Matthews
2005-03-20New Bpy Object method: insertIpoKey()Stephen Swaney
inserts Object IPO key for LOC, ROT, SIZE, LOCROT, or LOCROTSIZE Contributed by Johnny Matthews (guitarGeek)
2005-03-20fix warning: initialization makes integer from pointer without a castStephen Swaney
2005-03-20 - remove all obsolete inclusions of BLI_winstuff.h (due to recent changes)Daniel Dunbar
NOTE: BLI_winstuff.h was meant to be a wrapper around windows.h to handle undefining various crap that windows.h defines. Platform specific headers should only have to be included in a few places. This reduces the number of inclusions of BLI_winstuff.h to 16 which is a much more reasonable number (than the 144 or whatever it used to be)
2005-03-19Some cleaning up of BLI_winstuff.h usageDaniel Dunbar
- removed reference in render.h (really bad, shouldn't include a platform specific header so widely unless really necessary) - added M_PI, M_PI_2, M_SQRT, M_SQRT_2 defines to BLI_arithb.h... this is a better place as it is more the "standard" blender math header. left in winstuff.h as well for the moment for simplicity - other changes are patches to code so everything works ok with this shuffling.
2005-03-19BPython:Willian Padovani Germano
- Added Blender.Run(script) + doc update (forgot to mention in my previous commit). Trying to fix two mistakes from my previous commit: - nmesh.transform(): forgot yesterday that affine vectors have 4th component = 0, now updated normals transformation accordingly. - As Ton pointed, recursive parsing of scripts dirs in search of scripts was a mess. I simply forgot about the "//" trick and much worse, to protect against worst cases ("/", for example). Now the code uses BLI_convertstringcode to take care of "//", doesn't process if dir = "/" and there are limits: max depth for traversing subdirs = 4 max dirs in the tree = 30. I'll work more on this, check more, but these changes were tested and should make the code safer, of course, so I'm committing. Sorry about the mess, I should take lessons on defensive programming ...
2005-03-19Fix for building on win32Johnny Matthews
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-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
2005-03-17fixed example of use the GetScreenInfoJoilnen Leite
.
2005-03-13A little editing on the doc for the newest member of our Bpy module ↵Stephen Swaney
familily: Text3d.
2005-03-12doc about set/getDupliVerts methodJoilnen Leite
.
2005-03-12added getDupliVerts and setDupliVerts methodsJoilnen Leite
.
2005-03-10Text3d submodule documentJoilnen Leite
.
2005-03-09big warning hunt commitJean-Luc Peurière
lot of casts, added prototypes, missing includes and some true errors
2005-03-09doc about Text3d moduleJoilnen Leite
.
2005-03-07Solves a build problem with MSVC scons build. Thanks kaito for pointing out ↵Johnny Matthews
the Black box of BLI_winstuff
2005-03-07fix warnings about implicit declarations.Stephen Swaney
overlooked by being in a hurry.
2005-03-06New Bpy type Text3d for accessing Blender's Font objects.Stephen Swaney
Contributed by Joilnen Leite (pidhash).
2005-03-01BPython:Willian Padovani Germano
- Gert de Roost reported an inconsistency between nmesh.getMode and .setMode. Now .setMode() optionally accepts an int value, as returned by getMode(). - Campbell Barton pointed that object.getData(name_only=True) was by mistake returning the obj name, not the obdata name, as it should. Fixed now. - small doc updates Thanks both for the reports.
2005-02-27Part of Big Cleanup: move data declarations out of header files.Stephen Swaney
BGL.[ch] work done by Joilnen Leite (pidhash). Thanks! updated 0-todo.txt. No changes to executable code.
2005-02-27Updates to NMesh doc contributed by Campbell Barton.Stephen Swaney
Corrections and useful user-oriented hints.
2005-02-22Patch submitted by Michael ReimpellJoseph Gilbert
- Adds NormalMap to python's list of Texture Image flags
2005-02-21-AngleBetweenVecs() was returning only 8-digit precision. This changes the ↵Joseph Gilbert
precision to 16-digits and should fix some problems regarding spurious numbers being returned by python after running this function.
2005-02-16BPython bug fixes:Willian Padovani Germano
-- Ton caught a redraw trying to free a busy slider button in a script. Made sure the redraws don't happen in the scripts win during slider updates, but the realtime slider (automatically updates the 3d view) isn't working yet as it probably shouldn't with the current code. There's a pre 2.25 comment in Draw.c about it being hackish and wrong; -- Melchior FRANZ reported a bug related to a script dict being freed too early (when two instances of the same script were on: one with a gui and the other with a file selector -- selecting the file triggered the problem); -- bug #2074 reported by Roland Hess: totally empty string button -- no prepended but->str (e.g. "OB:") neither but->poin (the actual string) -- crashing Blender. Crash happened on editscreen.c: screen_delayed_push_undo calls strncpy() without checking the passed string. Didn't mess with it, better let the coder in charge of undo (Ton, right?) choose a preferred way to deal with it (report error, simply use blank string). Staying on the python side at least for now, I just made but->str = " " (a space) when user doesn't define it, so the crash shouldn't happen anymore. http://projects.blender.org/tracker/?func=detail&atid=125&aid=2074&group_id=9 Thanks guys for reporting the problems.
2005-02-12<strings.h> is not defined on Win32 systemsJoseph Gilbert
2005-02-09BPython:Willian Padovani Germano
- applied Campbell Barton's patch for access to Oops location and selection of materials, mesh data and objects, slightly modified. Thanks, Campbell; - got rid of warnings in many files, hopefully not introducing any other during the process. Mostly this was done: 1) new EXPP_incr_ret_True/False functions were added and used instead of "Py_INCREF(Py_True/False); return Py_True/False;". Currently at least the functions use the fact that PyTrue/False == 1/0 and use 1 and 0 to avoid the warnings. 2) Filling of certain types structs got 0's added for all not defined data and methods. This is surely Python version specific, since these structs can change size and content at each major version number Python update.