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-08-14Removed a bunch of references to the old multires.Nicholas Bishop
Note: python needs updating to work with the new multires. For now, I've just been commenting out the python multires stuff with #warnings
2008-07-27Merged with r15805Nicholas Bishop
2008-07-27Patch #17336: Lock bones in edit modeJoshua Leung
Submitted by: Lorenzo Pierfederici (lento) This patch adds the ability to lock transformation on bones in edit mode, to protect them from accidental editing. Bones can be locked from the editing buttons, the transform property panel, the specials popup menu or the python api.
2008-07-27== Python scriptlinks ==Willian Padovani Germano
Render/postrender events were missing from bg rendering (and also from rendering called inside scripts). Found this because of bug #17389, the code to prevent race conditions with pynodes is currently inside BPY_do_all_scripts (that runs scriptlinks) and so was not being called in bg mode or rendering via scripts. http://projects.blender.org/tracker/?func=detail&atid=125&aid=17389&group_id=9
2008-07-26== PyNodes ==Willian Padovani Germano
Early Ehlinger reported a deadlock when a script tells Blender to render an animation and there are pynodes. While investigating I saw related crashes in bg (blender -b) mode, still not fixed. This commit tries to fix the problem for interactive mode, then. What it does is releasing the lock before rendering and relocking after that, like theeth suggests in the bug report: http://projects.blender.org/tracker/?func=detail&atid=125&aid=17389&group_id=9
2008-07-24added note to epydocs explaining the nature of floats in id properties from ↵Joseph Eagar
the python point of view
2008-07-24added support for doubles to the id property code, and made the python code ↵Joseph Eagar
use them by default
2008-07-23Updated some out of date documentation of Object Ipo curve namesMatt Ebb
2008-07-22Started removing the old multires code. Also removed a few pointers in the ↵Nicholas Bishop
DNA data that won't be needed for backwards-compat. Put a warning in the Python code as a reminder that it'll need to be updated to work with the new multires code.
2008-07-22Python APIKen Hughes
---------- Particle patch from Cédric Paille: bugfixes and child-particles export improvements for .getLoc(), part.getRot() part.getSize(), part.getAge() methods. Also fix a bug with part.randemission getter (was using PART_BOIDS_2D instead of PART_TRAND), plus typos and duplications in API documentation.
2008-07-21allow to write to libraries that are indirectly linkedCampbell Barton
2008-07-19Added functions so python can change library paths.Campbell Barton
* bpy.libraries.paths() -> list of library paths. * bpy.libraries.replace(fromPath, toPath)
2008-07-17Change message printed by sceneRender.enableCropping() to be more ↵Ken Hughes
descriptive, and note the method as deprecated in the python docs.
2008-07-07[#17288] Sequencer API: added a method, a geter/setter, the blend modes dict ↵Campbell Barton
and corrected a malfunction on audio strips blend mode from Luca Bonavita (mindrones) - adds the method "rebuildProxy()" useful to rebuild all the strips at once: the user can do - adds a BlendModes dictionary under the Blender.Scene.Sequence module: the user can see the blending option with - adds the getter/setter "blendMode" - adds a function seq_can_blend in sequence.c as requested by Peter, useful for these purposes but also to solve a bug after - the bug is you can apply blend modes to an audio strip that doesn't make sense: changed the test and now you cannot assign blend mode other than Replace to audio strips Omitted DNA cleanup part since its only whitespace and Id prefer to have a useful "svn blame" output.
2008-07-04non user visible changes and small optimizations to the game engine pyapi as ↵Campbell Barton
well as fixing some bugs. * 2 returning errors without exception set another return None instead of NULL. * a missing check for parent relation * BPY matrix length was incorrect in matrix.c, this change could break some scripts, however when a script expects a list of lists for a matrix, the len() function is incorrect and will give an error. This was the only thing stopping apricot game logic running in trunk. Also added a function for GameObjects - getAxisVect(vec), multiplies the vector be the objects worldspace rotation matrix. Very useful if you want to know what the forward direction is for an object and dont want to use Blender.Mathutils which is tedious and not available in BlenderPlayer yet.
2008-07-03== Python, GE & Threads ==Willian Padovani Germano
Martin Sell (thanks!) reported that threading via scripts was not working in the game engine with Blender 2.46 and later. My fault, to make pynodes work properly with threads > 1 I disabled Python's "check interval", preventing threads created via scripts from receiving time to run. Now only during rendering check interval is disabled (set to max int). Still experimental, I added the calls in BPY_do_all_scripts, since it's called in BIF_do_render, but will probably move the code to its own function after more testing & feedback.
2008-06-30Fix for python APi error - (Campbell: please check :) ) -- using ↵Daniel Genrich
myLamp.setType(Area) resulted in 'TypeError: expected int argument in [0,5]' (reported in IRC by Djoef)
2008-06-30Fix crash in python API (Campbell: please check :) ) -- using ↵Daniel Genrich
myLamp.setType(number) crashed blender (reported in IRC by Djoef)
2008-06-25added r/w access to nurb curves orderU for migiusCampbell Barton
2008-06-23Moving Line to Line intersection into arithbMartin Poirier
2008-06-21* Documented that get/setOrientation use an inverted rotation matrixCampbell Barton
* OB prefix is needed when specifying the object for the Message Actuator, this is very bad since other object fields in the BGE dont need this prefix - a real fix would need do_versions to keep old files running. * RotationMatrix was all nans if the rotation vector axis was 0,0,0, Changed so in this case just return a matrix that doesn't rotate anything, spent some angry hours to find these issues, maybe this will save others the hassle ;)
2008-06-11bugfixCampbell Barton
- duplicated script spaces would keep a pointer to the PyObject button list. (causing python errors with negative reference counts when freeing spaces) - Exiting blender would crash when a UI was open because the ScriptSpaces button PyList was being free'd after python Py_Finalize was called.
2008-06-06bugfix, memory leaks when getting particles and particle system ↵Campbell Barton
loc/size/rot/life (Just remember PyList_Append adds a reference! :) )
2008-06-06bugfix - Blender.GetPaths() was returning relative paths from libraries, but ↵Campbell Barton
with no way to access the library path the the file is relative too. Check for these cases and make them absolute. bpath also assigned one var it didnt need to.
2008-06-06Added shadow bakingCampbell Barton
2008-06-05added checks for zero length strings when checking for the last characterCampbell Barton
2008-06-05* python sys.cleanpath() used strstr incorrectly, resulting in paths ↵Campbell Barton
containing a slash, always returning a path that ends with a slash. * python Blender.GetPaths() - absolute=0 wasnt working * BLI_cleanup_file and BLI_cleanup_file were treating the // prefix as a duplicate path, now ignores // * BLI_convertstringcode was removing the trailing slash from a path (tested these path functions didnt mess up with some of the peach files and with pointcache)
2008-06-05numbutton python expression evaluation used driver dictionary, when ↵Campbell Barton
EnableScriptlinks was disabled number button input didnt work. narrow down this test to the part of the pydriver module init that uses a blender textblock as a module. This should should reload the pydriver dict whenever the "EnableScriptlinks" state changes. but for now working numbuttons is priority.
2008-06-04Python API object.parentVertexIndex - access vertex parent indiciesCampbell Barton
2008-06-02Added missing newline for error print in Py-button expressionsJoshua Leung
2008-06-01functionality fixCampbell Barton
Originally the only way to run scripts automatically was with scriptlinks, which could be disabled for loading untrusted blend files. Since then PyDrivers and PyConstraints would run even when G.f&G_DOSCRIPTLINKS was disabled. Gensher, Theeth and Ianwill agree its acceptable to reuse the flag for other areas python runs automatically. PyNodes still have no way to be disabled, (todo before 2.46a)
2008-06-01bugfix (typo) [#13587] Python API Material.sssFront brokenCampbell Barton
2008-06-01bugfix for own errorCampbell Barton
[#13588] Python API Material.sssRadiusBlue broken
2008-05-31bugfix for own error, introduced when running scripts were saved with the ↵Campbell Barton
blend file. a script error with a script that has an interface would not stop the interface from running again immediately, causing an annoying error message loop.
2008-05-31== PyNodes ==Willian Padovani Germano
Bug #13277, reported by Juho (bebraw) Vepsalainen (thanks!) - a typo made pynodes w/o input socket definitions fail with an out of range error when accessing the output sockets in the script.
2008-05-30bugfixCampbell Barton
* scene.object.context and scene.object.selected had broken get_item funcs so scene.object.context[i] returned the wrong object. * aligning the view to an object (numpad*key), did not disable the ortho view grid. * long standing problem where opening a relative image would fail with no message. BLI_convertstringcode was returning a path with /../../'s that need to be cleaned before the path could be read, the path was also invalid from unix shell so its not a blender path reading problem.
2008-05-28bugfixCampbell Barton
* python api render() would clamp the endframe to a short. * python api's render() and renderAnim() would not render compositing because the name they gave to RE_NewRender was NOT G.scene->id.name, added comments to G.scene->id.name
2008-05-28[#10223] a new object function to add vertex group from an armatureMartin Poirier
Patch from Jean-Michel Soler (with slight modifs) Small BPy feature to help script writers deal with armatures and vertex groups (calls the bone heat method to create and assign groups)
2008-05-26bugfix for crasher from Cedric Paille via bf-committers.Stephen Swaney
2008-05-25patch [#11491] Fix for bug 11362: Blender.Draw.Image() method does not clip ↵Campbell Barton
properly fixing [#11362] Blender.Draw.Image() method does not clip properly also return silently on zero zoomlevel rather then raising an error, only raise an error on negative values.
2008-05-21add missing flags for NLA stripsCampbell Barton
2008-05-21scene frames scene.render.cFrame,sFrame and eFrame were being treated as ↵Campbell Barton
shorts. (which clamped them to 37856)
2008-05-21testbreak was not working after the first useCampbell Barton
2008-05-19more updates to docsCampbell Barton
2008-05-19some updates to epy docsCampbell Barton
2008-05-17== Nodes ==Willian Padovani Germano
- "Memoryblock free: attempt to free NULL pointer" messages related to the Material node (Add->Input->Material). Deleting it and quitting Blender would bring 2 or 3 of these warnings. Trivial fix (check if NULL) in blenkernel/intern/node.c, though Nodes devs may be interested. Found while testing to fix the following bug: == PyNodes == - Bug #11715 reported by Alexanter Feterman: http://projects.blender.org/tracker/?func=detail&atid=125&aid=11715&group_id=9 Adding a Dynamic node and setting it to a pynode script would crash Blender if no Material Node (MatNode) was present. Thanks Alexander for reporting and Brecht for assigning it to me.
2008-05-13last commit had a typo, also adjusted teh and colour instancesCampbell Barton
2008-05-11Fix compiler warnings in particle.c and editface.c.Joshua Leung
* unitialised/unused vars
2008-05-11fix compiler warnings.Stephen Swaney
tsk tsk - implicit declaration of functions.
2008-05-11Initial commit for BPy Particle patch #8557 from Cedric PailleStephen Swaney
Thanks, Cedric! *** WARNING **** This is a Work In Progress *** Warning ****