? blender ? blender-stable ? blender_back ? blender_nodebug ? config.opts ? obj/linux-glibc2.3.4-i386 ? source/blender/python_nmesh_tx ? source/blender/python/api2_2x/doc/API_intro.pyc ? source/blender/python/api2_2x/doc/Armature.pyc ? source/blender/python/api2_2x/doc/BGL.pyc ? source/blender/python/api2_2x/doc/BPY_API_236 ? source/blender/python/api2_2x/doc/Blender.pyc ? source/blender/python/api2_2x/doc/Bone.pyc ? source/blender/python/api2_2x/doc/Camera.pyc ? source/blender/python/api2_2x/doc/Curve.pyc ? source/blender/python/api2_2x/doc/Draw.pyc ? source/blender/python/api2_2x/doc/Effect.pyc ? source/blender/python/api2_2x/doc/Image.pyc ? source/blender/python/api2_2x/doc/Ipo.pyc ? source/blender/python/api2_2x/doc/Lamp.pyc ? source/blender/python/api2_2x/doc/Lattice.pyc ? source/blender/python/api2_2x/doc/Library.pyc ? source/blender/python/api2_2x/doc/Material.pyc ? source/blender/python/api2_2x/doc/Mathutils.pyc ? source/blender/python/api2_2x/doc/Metaball.pyc ? source/blender/python/api2_2x/doc/NLA.pyc ? source/blender/python/api2_2x/doc/NMesh.pyc ? source/blender/python/api2_2x/doc/Noise.pyc ? source/blender/python/api2_2x/doc/Object.pyc ? source/blender/python/api2_2x/doc/Radio.pyc ? source/blender/python/api2_2x/doc/Registry.pyc ? source/blender/python/api2_2x/doc/Render.pyc ? source/blender/python/api2_2x/doc/Scene.pyc ? source/blender/python/api2_2x/doc/Sound.pyc ? source/blender/python/api2_2x/doc/Sys.pyc ? source/blender/python/api2_2x/doc/Text.pyc ? source/blender/python/api2_2x/doc/Texture.pyc ? source/blender/python/api2_2x/doc/Theme.pyc ? source/blender/python/api2_2x/doc/Types.pyc ? source/blender/python/api2_2x/doc/Window.pyc ? source/blender/python/api2_2x/doc/World.pyc ? tools/__init__.pyc ? tools/scons/__init__.pyc ? tools/scons/bs/__init__.pyc ? tools/scons/bs/bs_arc.pyc ? tools/scons/bs/bs_bincopy.pyc ? tools/scons/bs/bs_clean.pyc ? tools/scons/bs/bs_config.pyc ? tools/scons/bs/bs_default.pyc ? tools/scons/bs/bs_dirs.pyc ? tools/scons/bs/bs_globals.pyc ? tools/scons/bs/bs_libs.pyc ? tools/scons/bs/bs_nsis.pyc Index: source/blender/python/api2_2x/vector.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/vector.c,v retrieving revision 1.17 diff -u -p -u -r1.17 vector.c --- source/blender/python/api2_2x/vector.c 3 Jan 2005 18:05:24 -0000 1.17 +++ source/blender/python/api2_2x/vector.c 28 Feb 2005 13:36:31 -0000 @@ -589,6 +589,9 @@ int Vector_coerce( PyObject ** v1, PyObj printf( "attempting vector operation with unsupported type...\n" ); Py_INCREF( *v1 ); return 0; //operation will type check + + + } } else { printf( "numeric protocol failure...\n" ); Index: source/blender/python/api2_2x/doc/Material.py =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/doc/Material.py,v retrieving revision 1.9 diff -u -p -u -r1.9 Material.py --- source/blender/python/api2_2x/doc/Material.py 14 Sep 2004 20:03:01 -0000 1.9 +++ source/blender/python/api2_2x/doc/Material.py 28 Feb 2005 13:36:31 -0000 @@ -124,6 +124,10 @@ class Material: @cvar fresnelTrans: Power of Fresnel for transparency. @cvar fresnelTransFac: Blending factor for Fresnel. @cvar specTrans: Makes specular areas opaque on transparent materials. + @type oopsLoc: tuple: Containing 2 floats. + @cvar oopsLoc: The 2D location of this material in the oops window. + @type oopsSel: bool + @cvar oopsSel: The selection state of this material in the oops window. @warning: Most member variables assume values in some [Min, Max] interval. When trying to set them, the given parameter will be clamped to lie in that range: if val < Min, then val = Min, if val > Max, then val = Max. Index: source/blender/python/api2_2x/doc/NMesh.py =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/doc/NMesh.py,v retrieving revision 1.28 diff -u -p -u -r1.28 NMesh.py --- source/blender/python/api2_2x/doc/NMesh.py 9 Feb 2005 05:19:24 -0000 1.28 +++ source/blender/python/api2_2x/doc/NMesh.py 28 Feb 2005 13:36:31 -0000 @@ -136,7 +136,9 @@ def GetRaw(name = None): def GetRawFromObject(name): """ - Get the raw mesh data object from the Object in Blender called I{name}. + Get the raw mesh data object from the Object in Blender called I{name}.\n + Note: The mesh is returned without its objects matrix applied.\n + For worldspace vertex coords, each vertex location must be multiplied by the objects 4x4 matrix. @type name: string @param name: The name of an Object of type "Mesh". @rtype: NMesh @@ -189,16 +191,17 @@ class NMVert: The NMVert object ================= This object holds mesh vertex data. - @type co: list of three floats + @type co: 3D Vector object. @cvar co: The vertex coordinates (x, y, z). - @type no: list of three floats + @type no: 3D Vector object. (unit length) @cvar no: The vertex normal vector (x, y, z). - @type uvco: list of two floats - @cvar uvco: The vertex texture "sticky" coordinates. + @type uvco: 3D Vector object. + @cvar uvco: The vertex texture "sticky" coordinates. The Z value of the Vector is ignored. @type index: int @cvar index: The vertex index, if owned by a mesh. @type sel: int - @cvar sel: The selection state (selected:1, unselected:0) of this vertex. + @cvar sel: The selection state (selected:1, unselected:0) of this vertex.\n + Note: An NMesh will return the selection state of the mesh when EditMod was last exited. A python script operating in EditMode must exit edit mode, before getting the current selection state of the mesh. @warn: There are two kinds of uv texture coordinates in Blender: per vertex ("sticky") and per face vertex (uv in L{NMFace}). In the first, there's only one uv pair of coordinates for each vertex in the mesh. In the @@ -331,6 +334,10 @@ class NMesh: @cvar mode: The mode flags for this mesh. See L{setMode}. @cvar subDivLevels: The [display, rendering] subdivision levels in [1, 6]. @cvar maxSmoothAngle: The max angle for auto smoothing. See L{setMode}. + @type oopsLoc: tuple: Containing 2 floats. + @cvar oopsLoc: The 2D location of this mesh in the oops window. + @type oopsSel: bool + @cvar oopsSel: The selection state of this mesh in the oops window. """ def addEdge(v1, v2): @@ -712,6 +719,8 @@ class NMesh: def getMaxSmoothAngle(): """ Get the max angle for auto smoothing. + Note: This will only affect smoothing generated at render time. + Smoothing can also be set per face which is visible in Blenders 3D View. @return: The value in degrees. """ Index: source/blender/python/api2_2x/doc/Object.py =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/doc/Object.py,v retrieving revision 1.26 diff -u -p -u -r1.26 Object.py --- source/blender/python/api2_2x/doc/Object.py 9 Feb 2005 05:19:24 -0000 1.26 +++ source/blender/python/api2_2x/doc/Object.py 28 Feb 2005 13:36:31 -0000 @@ -80,8 +80,9 @@ def Get (name = None): def GetSelected (): """ - Get the selected objects from Blender. If no objects are selected, an empty - list will be returned. + Get the selected objects from Blender that are in viewable layers. If no objects are selected, an empty + list will be returned.\n + The Active Selected object will always be first in the list. @return: A list of all selected Objects in the current scene. I{B{Example:}} @@ -159,7 +160,9 @@ class Object: of: 2 - axis, 4 - texspace, 8 - drawname, 16 - drawimage, 32 - drawwire. @cvar name: The name of the object. - @cvar sel: The selection state of the object, 1/0. + @cvar sel: The selection state of the object, 1/0. + @type oopsLoc: tuple: Containing 2 floats. + @cvar oopsLoc: The 2D location of this object in the oops window. """ def buildParts(): Index: source/blender/src/usiblender.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/src/usiblender.c,v retrieving revision 1.72 diff -u -p -u -r1.72 usiblender.c --- source/blender/src/usiblender.c 19 Jan 2005 13:53:43 -0000 1.72 +++ source/blender/src/usiblender.c 28 Feb 2005 13:36:32 -0000 @@ -598,7 +598,7 @@ void exit_usiblender(void) free_editText(); } else if(G.obedit->type==OB_MBALL) BLI_freelistN(&editelems); - free_editMesh(G.editMesh); + exit_editmode(2); /* 0= no free data */ } free_editLatt();