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-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-11-24==Python API==Campbell Barton
Added a keyword argument for mesh.pointInside(point, selected_only=True) This means only selected faces are tested when doing the inside/outside test, disabled by default.
2007-11-21wizard_curve2tree.py - always use active object (local view was messing up ↵Campbell Barton
the context) Mesh.c - mesh.faces.extend([..., smooth=True]) - smooth keyword argument, in a number of places was looping through all faces just to smooth them. mesh_skin.py - smooth by default
2007-11-19==Python API==Campbell Barton
removing vertex groups was broken, the function being called was for editmode, this would remove the vertex group but apply the weights from the removed group to the next vertex group.
2007-11-16* wizard_curve2tree.py - Automatic alpha blended, textured image joins using ↵Campbell Barton
material textures and UV layers. Also added some detail options and made it easier to get low poly results. * Mesh.c bugfix, "mesh.verts = None" didn't set the mesh->mselect pointer to NULL, wizard_curve2tree so would crash when in editmode. * Texture.py - MTex.uvlayer doc was missing * buttons_shading.c - Stencil tooltip was stupid.
2007-11-13==Python API==Campbell Barton
mesh.pointInside(vec) wasnt working in all cases. (own mistake)
2007-10-19Mesh edit option 'AutoMerge' - access from the mesh menu, basically runs ↵Campbell Barton
remove doubles after transform. but only merges unselected verts into selected verts, so it wont merge verts your not editing.
2007-09-22added an active face for the mesh editmode and normal mesh - this is needed ↵Campbell Barton
because the TFace flag was not always easy to access from editmode. using the last selected face was almost good enough however when selecting verts and edges the last selected face would become inactive and the space image would flicker about too much. The active face is used for getting the space image at the moment and keeps scripts that use this flag working also. This has 2 commands to get and set, so the variable is not accessed directly. all "UV Calculate" scripts work now last commit crashed when in solid draw mode, it seems subsurf modifier is ignoring the displayMask since MTFACE is available. just made it do a null check for now. uvcalc_follow_active_coords.py - should be done inC and put in the snap menu.
2007-09-17Patch/Bugfix #7334 by 'gsr b3d:Joshua Leung
Some more compiler warning fixes. Some of these seem to be specific to GCC 4.1
2007-09-12-> Fix for Mesh Properties Python APIGeoffrey Bantle
When switching Mesh properties over to METH_O from METH_VARARGS certain method definitions didn't get switched over correctly, causing calls to mesh property functions to fail.
2007-09-10Changes to "Face Select" modeCampbell Barton
* Does not indicate that UV's exist, nor does it add UV's when used. * Only accessible for texturepaint, vertexpaint and weightpaint from a button in the header (Paint Selection Mask) * Not accessible from the mode menu, this is only an option that applies to paint modes. This dosnt effect DNA, face select (G_FACESELECT) can be enabled at any time but is only used when paint modes are enabled. Other changes * UKey is uv unwrap in editmode, Ukey for undo was editmode only anyway. * UVCalc in editmode adds a UV Layer if there is not one alredy. * texture draw in editmode does not draw the face dots (they are get in the way of texturing) * some missing updates were added. * removed manipulator from when paint modes are enabled since the manipulator is not drawn in the 3d view.
2007-08-28getting the mesh for all curves/surfs/text raised an error every time ↵Campbell Barton
because it was checking the wrong object was converted to a mesh. might be own fault.
2007-08-20added face sorting to mesh so you can do mesh.faces.sort(...)Campbell Barton
uses list sorting internally so is exactly the same as list sorting.
2007-08-09Mesh.c - getVertFromGroup ~25% speedup.Campbell Barton
export_fbx.py - initial support for bones applied to weighted meshes.
2007-07-12Python APIKen Hughes
---------- Fix uninitialized variable in MEdge_setSel.
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-30mixed decloration, own Lattice typo'sCampbell Barton
2007-06-29same as 2.44 stable - missing NULL checks.Campbell Barton
2007-06-29remove unneeded checks from the python APICampbell Barton
2007-06-28Mesh.c - added missing error checking for vert ranges and that verts are valid.Campbell Barton
Mesh.c - removed unneeded checks for creating ints. Text3d.c - own error - setting the 3d text didnt work, 1 liner fix.
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-06-04-> Custom Properties for Mesh entitiesGeoffrey Bantle
In order to give import/export script authors the ability to add properties to inidividual faces, vertices and edges in the same manner as they are able to do with ID structures three new custom data types have been added to blender for floats, integers and strings. Things to note: -Since property Layers are custom data, they are added to all verts, edges or faces at once. -Only one property layer for each unique property name may exist. In other words, you cannot have a float layer as well as an integer layer both with the same name. -No user interface for this exists at the moment. The following methods and attributes have been added to the Blender.Mesh Python module and it's object types: ->MVert/Edge/FaceSeq: addPropertyLayer(name, type) removePropertyLayer(name) renamePropertyLayer(original name, new name) properties(readonly list.) ->MVert/Edge/Face getProperty(name) setProperty(name, value) ->Mesh module PropertyTypes (readonly dictionary)
2007-06-02made change to NMesh decrefing suggested by theeth, and added 2 more missing ↵Campbell Barton
decrefs in new_NMFace
2007-06-02pointInside wasnt working properly (did work with the examples I was using ↵Campbell Barton
with many small faces)
2007-05-28fix for a crash in Blender.Mesh,Campbell Barton
getting curve data from an object failed (with only 1 curve vertex) Blender.Mesh didnt check this and crashed.
2007-05-28more memory leak fixes, though only a few are likely to happenCampbell Barton
2007-05-26Key.c/h - Removed unneeded functions. and ipo in struct wasnt being used.Campbell Barton
Lattice.c - removed warning Mesh.c - (own error) when running me.update(key="...") didnt update the right keyframe. mesh_cleanup.py - Bugfix from a report by plumiferos that started uncovering all the memory leaks. Removing NAN verts didnt work with mesh keyframes.
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-02PyAPI, Mesh.c - added renderColorLayer and renderUVLayer to the meshCampbell Barton
buttons_editing.c - use icons for mesh viewport layer/render layer
2007-04-15Fix for bug #6461:Brecht Van Lommel
quadToTriangle() crash, was a missing depsgraph update.
2007-04-05* Changed mesh so all new data is selected (fits in with blender's UI and ↵Campbell Barton
other areas of Python API), this could break existing scripts that count on new data being unselected (unlikely) * Added a keyword argument to mesh.transform() - "selected_only" so you can transform the selected verts. this wont break existing scripts. * Documented these changes in epydocs. * used these functions in BPyAddMesh
2007-04-04moved source and text to american spellingCampbell Barton
* colour -> color * centre -> center * normalise -> normalize * modelling -> modeling
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-15removed unneeded dealloc functionsCampbell Barton
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-12Fix for bug #6127:Brecht Van Lommel
Import scripts could create meshes with old style edgecodes.
2007-03-11Remove gcc compiler warnings from various files.Ken Hughes
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-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-08== Multires ==Nicholas Bishop
Fixed bug #6153, Blender Crash during rendering (internal) with object selected in edit mode. * Added a render parameter to several of multires's functions. If render==true, multires won't push data onto the undo stack, and regular Mesh data is always used (as opposed to EditMesh data.)
2007-03-07Type header_seq.c - Reassing Inputs -> Reassign InputsCampbell Barton
Mesh.c added new function to mesh - mesh.pointInside(vec)
2007-03-06Python APIKen Hughes
---------- Bugfix #6166: Mesh.getFromObject() didn't accept three parameters.
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-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-11Made multires and shape keys throw errors when adding if the other existed ↵Campbell Barton
(so both can never coexist) documented this too.
2007-02-07animation_trajectory - was printing deprecation warnings. cleaned up some of ↵Campbell Barton
its code too. Mesh - removing UV or Color layers didnt check if the active object was in vpaint of uv mode, removing the last layer could crash blender - now switch to object mode if its the last layer like the UI.
2007-01-28made Mesh.Get('foo') raise an error when foo dosnt exist rather then ↵Campbell Barton
returning None (to work like other modules) also update Metaball.Get() to be less messy - still functions the same.