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
2012-04-01Merged changes in the trunk up to revision 45308.Tamito Kajiyama
Conflicts resolved: source/blender/editors/interface/resources.c source/blender/editors/mesh/editmesh_select.c source/blender/editors/space_view3d/drawobject.c
2012-03-31code cleanup: use uppercase defines and change drawFCurveFade into static ↵Campbell Barton
function.
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-30patch to add __deepcopy__ to mathutils types, this is no different to ↵Campbell Barton
__copy__, except some py utilities expect __deepcopy__ to exist, so better have them.
2012-03-30fix for finding the python exception line number when running a script in ↵Campbell Barton
the text editor. - filename comparison was invalid - was stopping on the first traceback, which would reference the caller but not the error line (when the error was in a function).
2012-03-29added Mesh.calc_tessface(), needed to update mesh tessface after bmesh edits.Campbell Barton
also add py api BMDeformVert.clear()
2012-03-28code cleanup: (dont include ';' in defines), last commit also missed changes ↵Campbell Barton
to paint_image.c
2012-03-27bmesh py api:Campbell Barton
added access to deform weights, access to weights acts like a python dict so you can do... print(group in dvert) dvert[group] = 0.5 print(dvert[group]) del dvert[group] print(dvert.items())
2012-03-27style cleanup: py apiCampbell Barton
2012-03-26style cleanup: python apiCampbell Barton
2012-03-25Merged changes in the trunk up to revision 45133.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/blenloader/intern/writefile.c source/blender/bmesh/intern/bmesh_construct.c source/blender/bmesh/intern/bmesh_mesh_conv.c source/blender/bmesh/intern/bmesh_mesh_conv.h source/blender/editors/interface/interface_templates.c source/blender/editors/interface/resources.c source/blender/editors/mesh/bmesh_select.c source/blender/editors/mesh/bmesh_tools.c source/blender/editors/space_view3d/drawobject.c source/blender/render/intern/source/shadeoutput.c
2012-03-24style cleanup: pep8, indentationCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).Campbell Barton
2012-03-22bmesh py api:Campbell Barton
added BMFace.material_index
2012-03-22code cleanup: remove BMesh * args from query functions which don't need itCampbell Barton
2012-03-22fix [#30623] user-defined render presets bugCampbell Barton
this report exposed multiple bugs in blender when using a non utf8 compatible home directory. - bpy.utils.script_paths() would crash when homedir wasn't utf8 (reported bug) - PyC_DefaultNameSpace() - would raise an error when running when __file__ was non utf8. - preset filepath property was not set to accept non utf8. - bpy.paths.display_name would raise an error on non utf8 paths, (used for preset draw)
2012-03-21style cleanup: bmeshCampbell Barton
2012-03-21bmesh docs:Campbell Barton
- add examples for custom-data access - group BMesh types logically in docs - added missing docstrings needed to add grouping functionality to sphinx for this.
2012-03-21fix for Quaternion.to_axis_angle() returning a zero axis vector.Campbell Barton
2012-03-21spelling cleanup: tesselate -> tessellate (last of these found)Campbell Barton
2012-03-21fix to possible bug running python callbacks - bpy.app.handlers.* to support ↵Campbell Barton
handlers removing themselves from the list.
2012-03-20fix [#30589] RNA function descriptions not showing in Python console on ↵Campbell Barton
autocomplete show rna function description and arguments now.
2012-03-20style cleanupCampbell Barton
2012-03-20py api:Campbell Barton
fix for collection functions not showing up in __dir__, eg, console autocomplete didnt show up bpy.data.libraries.load also fix refcounting leak with returning attributes from collections.
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20style cleanup: minor change to bmesh py repr + comment on loop radial ↵Campbell Barton
next/prev to avoid confusion.
2012-03-18spelling cleanupCampbell Barton
2012-03-18bmesh py api:Campbell Barton
use different types for bm.verts.layers, bm.faces.layers, otherwise the layers look to have customdata type that isnt compatible, UV's on edges for eg.
2012-03-18code cleanup: not all mathutils callback creation functions tool unsigned ↵Campbell Barton
char for type & subtype args.
2012-03-18swap BMLoopCol r/b color, requires subversion bump.Campbell Barton
old mesh MCol 'r' was blue, 'b' was red, but theres no reason to keep this for bmesh with MLoopCol. Loading old files works, saving legacy format works too. What wont work is loading a file after this revision and loading it in an older revision since the bmesh merge. (it wont crash but the blue and red will be swapped on vertex color layers).
2012-03-17bmesh py api:Campbell Barton
access to MLoopCol as mathutils.Color type
2012-03-17minor mathutils code cleanup - use mathutils callbacks as unsigned chars ↵Campbell Barton
everywhere.
2012-03-17bmesh py api:Campbell Barton
added per loop UV layer access
2012-03-17bmesh py api:Campbell Barton
split up BMElemSeq into BMVertSeq, BMEdgeSeq, BMFaceSeq and BMLoopSeq Was becoming cumbersome since each needed their own new() function, and other methods only worked for some of these types. Added BMesh.loops - since you cant iterate over loops this is for customdata access only.
2012-03-17style cleanup: py/capiCampbell Barton
2012-03-16bmesh py api:Campbell Barton
initial support for editing bmesh customdata per vert/edge/face/loop shapes, crease, bevel weights working, missing UVs and Vertex Colors still.
2012-03-16bmesh py api:Campbell Barton
Wrap customdata, so far you can access the data layers in a pythonic way but not manipulate the customdata yet. provides dictionary like access to customdata layers, eg: texpoly = bm.faces.tex["UVMap"] print(bm.verts.shape.keys()) # un-intended pun, keys() works on all layers. print("MyInt" in bm.edges.int) # __contains__ layer = bm.faces.get("CheckForLayer")
2012-03-15missed these last commitCampbell Barton
2012-03-15prepare for adding bmesh py api for customdata layer access - no functional ↵Campbell Barton
changes.
2012-03-15comment cleanupCampbell Barton
2012-03-14mathutils py api:Campbell Barton
Vector.angle_signed(other) for 2D vectors to get the clockwise angle between them. in BLI math its called - angle_signed_v2v2() shorthand for... atan2f((v1[1] * v2[0]) - (v1[0] * v2[1]), dot_v2v2(v1, v2)) also corrects compile error in last commit.
2012-03-14bmesh py api: finished todo - editable select_historyCampbell Barton
eg: bm.select_history = vert, face, edge bm.select_history.add(edge)
2012-03-14documentation edit to address bmesh py api bug [#30453]Campbell Barton
warn when addons are not found when running cmake.
2012-03-13bmesh py api: more comprehensive intro page, also fix some spelling errors.Campbell Barton
2012-03-13bmesh python api:Campbell Barton
BMesh.select_history.remove/clear/validate functions.
2012-03-13workaround [#30480] Knife tool flickerCampbell Barton
the problem was numeric precision when in ortho mode the start/end points for the view vector would be 2000 apart which caused trouble for the intersection test.
2012-03-11remove Object member from BMesh struct - was only used for undo and ↵Campbell Barton
BMEditMesh already stores an object pointer. also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.
2012-03-11[#30503] Callback for render job completionCampbell Barton
from Jason van Gumster (thefallenweeble) adds render_complete and render_cancel callbacks to bpy.app.handlers
2012-03-11bmesh python api additions:Campbell Barton
- BMesh.is_wrapped - BMesh.copy() - BMesh.clear() - BMesh.free() - BMesh.from_object(obj, apply_modifiers=True) - BMEdge.calc_length() - BMLoop.calc_normal() - BMLoop.calc_tangent()