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
2007-12-24Step 3 for the initial commits for 2.5: removing src/ and python,Ton Roosendaal
adding new windowmanager module, and the first bits of new editors module.
2007-12-24patch from Vladimir Espinosa for keying object layers from pythonCampbell 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-12-06Bugfix for mysteriously disappearing left eyeball. Bounding boxesBrecht Van Lommel
used for clipping were being stored in the mesh, but modifiers can result in two objects with the same mesh having a different bounding box. Solution is to store bounding box in the object.
2007-11-30dupliFaceScale wasnt being initialized for new objects, added Python api accessCampbell Barton
2007-11-28Previous commit (for ipos) missed python code fixes. Apparently makefilesTon Roosendaal
for python are broken...
2007-09-18A user submitted a BVH file that took a long time to import (I didnt end up ↵Campbell Barton
finishing since it was so slow) this is mainly because adding pose keyframes recalculates every handle so importing became increasingly slow. added a 'fast' argument to insertkey that python api's insertPoseKey can make use of since it alredy accepts a 'fast' option. The ~4450 frame, 31 bone BVH imports in ~108sec now Seperated editmode switch statement in space.c's event handling, if editmode is disabled, or the images is a render or composite, UV editing operations are ignored. In previous releases it has given an annoying warning if selecting or scaling is attempted when out of UV/Face mode.
2007-09-17== Action Editor - Copy and Paste Tools ==Joshua Leung
Now it is possible to do Copy+Paste in the Action Editor, like in the IPO Editor. There are two new buttons in the Action Editor header for this, using the familiar icons. * To copy... Select the keyframes you wish to copy, and the channels that they occur in (except for ShapeKey mode, where it is not possible to select channels). Click copy button. * To paste... Place the current frame where you want the first of the keyframes from the buffer is to be pasted. Select all channels you wish the keyframes to be pasted into. Click paste button. Currently, keyframes are only pasted into 'compatible' curves (i.e. LocX keyframes can only go to LocX, and so on). This may change after user feedback, if this is found to be too restrictive. == Code Changes == I've made a few changes which allow this code to be nicer. * renamed insert_vert_ipo to insert_vert_icu, as that represents its actual purpose better (and changed all occurrences I could find) * created a new function, insert_bezt_icu, which does the actual inserting of provided BezTriple data to a given IpoCurve * recoded insert_vert_icu to use this new function, and also the IPO-Editor keyframe pasting (i.e. pasting in Editmode)
2007-09-07matrix to scale fixes from stableCampbell Barton
2007-09-01my commit 11122 broke scriptlinks. was returning before re-enabling scriptlinks.Campbell Barton
Bug [#6978] Scene script link doesn't work for Redraw event made a script to automate building a range of revisions. http://wiki.blender.org/index.php/User:Ideasman42#SVN_TimeWarp_Script
2007-08-12move mesh_vgroup_average to the weightpaint menu and rename. also added an ↵Campbell Barton
option to add the active weight group or all groups. - fix from 2.44 so makeDisplayList updates 3d text
2007-07-26PyAPI Simple Bugfix:Joshua Leung
This fixes a bug reported in IRC. getParentBoneName() was returning a string (most likely from an old bone-parent that got removed), even when the parent wasn't an Armature.
2007-07-20removing 2 getset duplicates Campbell Barton
2007-07-12From stableCampbell Barton
Revision: 11237 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11237 Author: campbellbarton Date: 2007-07-12 13:05:31 +0200 (Thu, 12 Jul 2007) Log Message: ----------- PyObject_IsTrue was missing a check for an error return value in many cases.
2007-07-01replace PyInt_CheckExact with PyInt_Check, same for floats and strings so ↵Campbell Barton
subclass and C/subtypes work. was reported as a bug a while ago.
2007-06-29remove unneeded checks from the python APICampbell Barton
2007-06-22(Python Object API)Campbell Barton
setting object layers didnt break once the base of an object was found. DAG update and countall ran even when the object wasnt in the scene.
2007-06-16Python PyMethodDef supports single argument methods (METH_O) but was using ↵Campbell Barton
METH_VARARGS everywhere and getting the single args from the tuple. Use METH_O where applicable.
2007-05-28adding object.matrixParentInverseCampbell 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-05-16Python bugfix reported by reD_Fox1Campbell Barton
ob1.shareFrom(ob2) - didnt work with the new type/realtype method of making sure all new objects were emptys until they were linked to data and the realtype is used.
2007-05-05more epy doc updatesCampbell Barton
added a constant dict "Blender.Object.IpoKeyTypes" to pass to ob.insertIpoKey(keytype), previously these constants were not documented well and added to Blender.Object directly
2007-04-25Object.c - made object action writableCampbell Barton
gen_library - fixed bug, wasnt adjusting user counts properly. bpy_data.c - added default new names for new data
2007-04-23Changed TESTBASE and TESTBASE_LIB to check the hidden flagCampbell Barton
Checked every instance of testbase to see this dosnt break anything, also changed TESTBASE and TESTBASELIB, both were used incorrectly in places. added error_libdata() for library error messages that are everywhere. added object_data_is_libdata to test if the object and its data's are from a library. fixed 2 crashs in adding Curve points to a library object (remember to check, verify_ipocurve returns NULL!) made duplicating and making dupli's real for lib objects possible, disabled joining into lib armatures and meshes.
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-17Python APIKen Hughes
---------- Bug reported on IRC: Object.setEuler(0,0,0) threw an exception. Change so it will accept (0,0,0), ((0,0,0), ([0,0,0]), or an euler.
2007-03-15removed duplicate functionality, macro's and functions existed to check a ↵Campbell Barton
PyObjects type, now only use macro's
2007-03-14made all python types that can do .__copy__(), also do .copy()Campbell Barton
added copy function to lamp, texture and ipo types
2007-03-14disabled Object.Duplicate() in background mode bacause it needs the 3d view, ↵Campbell Barton
added a note in the docs.
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-10removed python oops access, (was unreliable and nobody used it)Campbell Barton
oops data access need to be done differently. Blender.sys fix for win32 path bug 6193
2007-03-08BPython APICampbell Barton
added a function - GenericLib_assignData for assigning blender data, to assign an ipo to a camera or world to a scene for instance. Using this function removed ~300 lines of code. also fixes user count error in some places that didnt check. also made it possible to clear the colorband by setting it to []
2007-03-07Python APIKen Hughes
---------- Add some missing Py_DECREF() calls.
2007-03-02various warnings fixes - mostly casting and initialization issuesJoseph Gilbert
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-25SceneCampbell Barton
* Moved to getsetattrs * added scene.users (get) * added scene.fakeUser (get/set) * added scene.world (get/set) * added scene.timeline (get) * added scene.render (get) * added scene.radiosity (get) * added scene.objects.camera (get/set) Group * added properties gen_utils * made getScriptLinks work as documented, return an empty list rather then None. header files, noted libdata after PyObject as a requirement. Others, * Deprecate prints for older functionality EpyDocs still need updating.
2007-02-23BPython APICampbell Barton
* Added data.lib attributes to almost all data types, (except for Text3d and NLA) This is None or the path of the library as a string. * Main was giving a warning, Include Curve.h rather then CurNurb.h * Added Library.LinkedLibs(), returns a list of externaly linked libs.
2007-02-22renamed posebone.ik to hasIK, removed unused code, made the function name of ↵Campbell Barton
Armatue's py object from Blender object consistant with others.
2007-02-20Object parentType could never match Object.ParentTypes.LATTICE, Id ↵Campbell Barton
incorrectly assigned the lattice constant. Armature and Lattice parent types are the same. documented this.
2007-02-14Python APIKen Hughes
---------- Bugfix for problem reported with ac3d importer; Object_getData() wasn't setting the real object type before calling EXPP_add_obdata().
2007-01-25Python APIKen Hughes
---------- Replacing locally-declared function prototype with included one.
2007-01-18Bugfix #5732Ton Roosendaal
Python scripts: when setting a layer for an object, the function assumed the object had to be in the current scene, thus ignoring layers for other objects. Now the object->lay value is set always.
2007-01-15Cleanup of pose insert methods for Armature objects, as planned in the post ↵Toni Alatalo
to bf-python. Two sensible methods left in: armatureobject.insertPoseKey and .insertCurrentPoseKey, but still left unofficial i.e. not published in the api doc yet, because of additional error checking is still needed and more testing too. But at least is now in better shape to work on to be published in a later release.
2007-01-13Python APIKen Hughes
---------- Bugfix: Object.setEuler() didn't accept an Euler object.
2006-12-28Made it possible to copy modifiers from the python APICampbell Barton
ob1.modifiers = ob2.modifiers
2006-12-27Python APIKen Hughes
---------- Bugfix. Refactor from a few months ago broke ob.loc; it only accepted a tuple of 3 floats instead of a list. Make it accept both types now.
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-12-26Python APIKen Hughes
---------- Bugfix: fix my own over-optimization in insertIpoKey(), allow IPOKEY_LOCROT and IPOKEY_LOCROTSIZE to again set rotation and size Ipo curves.