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-09-14fix for sharp edge selection being inverted, change default angle from 1 to ↵Campbell Barton
30deg.
2012-09-14fixes for NULL checks, remove some redundant checks and add some in that ↵Campbell Barton
have been removed by accident as code has been updated.
2012-09-11add some missing NULL checks, a few parts of the code used a pointer then ↵Campbell Barton
checked it for NULL after. also made it more clear that some areas assume the pointer isnt null (remove redundant NULL checks).
2012-09-10fix [#32518] Vertex slide crash sometimes.Campbell Barton
Undo would leave BMEditMesh->me pointer NULL, this would likely crash EDBM_verts_mirror_cache_begin() too. Rather then restore 'me', remove the pointer altogether and use BMEditMesh->ob->data to save us having to keep track of 2 pointers.
2012-09-10code cleanup: use BMEdit_FromObject() rather then me->edit_btmesh in more ↵Campbell Barton
places.
2012-09-09style cleanup:Campbell Barton
also remove some redundant conversions int -> short -> int
2012-09-08style cleanupCampbell Barton
2012-09-07minor fix for previous commit. ripping a vert-edge connected to a face would ↵Campbell Barton
always choose the face even if the mouse is closer to the edge, now check both edges and faces when ripping from a non wire vertex
2012-09-07minor improvements to ripCampbell Barton
- rip tool didnt select the best edge to rip for wire verts (no connected faces) - ripping one vert with 2 edges connected didnt work.
2012-09-07fixes for weight paint mode:Campbell Barton
- sample weight didnt work when the object was transformed. - sample weight didnt work when vertex selection was enabled. - 'All faces' option is used by weight paint mode, but there was no UI access. add ED_mesh_pick_face_vert(). which uses the face selection buffer but returns the closest vertex.
2012-09-07remove makeDerivedMesh from ED_mesh_pick_face(), this was added 44256 (bmesh ↵Campbell Barton
merge), but is pretty bad (rebuilding entire derived mesh to pick a face), tested with subsurf modifier, sintel mesh - it works ok without it. Also - other select modes like border-select dont do this, so looks safe to disable.
2012-09-07code cleanup: header had many incorrect sections for function/file, also ↵Campbell Barton
rename mouse_mesh() --> EDBM_select_pick()
2012-09-07code cleanup: move vertex and face picking functions into meshtools.cCampbell Barton
2012-09-07code cleanupCampbell Barton
2012-09-06fix [#32502] Shift + V Vertex slide doesn't work for x-mirror editCampbell Barton
2012-09-04stule cleanupCampbell Barton
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03Fix knife bug #30764, failure to cut sometimes.Howard Trickey
Two bugs: first, the point-in-face function had a bug that made it fail for the xz or yz planes. Second, in ortho mode, simultaneous linehits need careful sorting. Also, in orth mode it is somewhat random whether the edges exactly behind the front ones are reported 'hit' by bvh tree, so put in code to prevent cuts along the parallel-to-view faces when not in cut-through mode.
2012-09-03style cleanupCampbell Barton
2012-09-03style cleanup: also add debugging print function for derived mesh ↵Campbell Barton
DM_debug_print_cdlayers()
2012-08-31Fix #32458: changing UV image in image editor not working when the active faceBrecht Van Lommel
was not selected. Now changed it so that the active face must also have its UVs shown in the image editor to be used as the source of the image shown.
2012-08-30Possible fix for #32446: after undo in mesh edit mode, vertex/edge/faceBrecht Van Lommel
selection syncing would not work correct, in this case deselecting an edge would deselect the two vertices even if it wasn't needed.
2012-08-24mesh bridge tool now leaves bridge faces selected.Campbell Barton
2012-08-24fix [#32357] Subdivide fails on newly created edgeCampbell Barton
problem since bmesh merge, new edges were not selected.
2012-08-23Fix #32391: new remove doubles "unselected" option was enabled by default, don'tBrecht Van Lommel
think this was intentional.
2012-08-23bmesh tool: support for merged-bridge (like bridge, collapsing), with aCampbell Barton
factor to blend between loops.
2012-08-21Fix #32334: mesh separate by material with > 2 materials could include someBrecht Van Lommel
incorrect extra edges.
2012-08-21Fix #32355: select vertex path not working when vertices are selected with e.g.Brecht Van Lommel
border select. There was a fix before bmesh where it would require exactly two vertices to be selected, but this was not ported over, and it also wasn't quite correct. This case should also work: click on two vertices, selected the path between them, and then click on a 3rd vertex and select path, to extend the path further from the 2nd to the 3rd vertex. Now both use cases should work.
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-20added 'Unselected' option to remove doubles, merges selected vertices into ↵Campbell Barton
unselected ones, but not each other.
2012-08-14code cleanup: reduce calling sqrt() when distances are only calculated for ↵Campbell Barton
comparison use dist_squared_to_line_segment_v2().
2012-08-12code cleanup: WM naming conventionsCampbell Barton
2012-08-10fix [#32300] Convex Hull Poll Shouldn't Require 3D ViewCampbell Barton
2012-08-08code cleanup: rename G.rt to G.debug_valueCampbell Barton
2012-08-07Fix knife stack overflow (bug #31907).Howard Trickey
The mutual recursion was removed: it was not needed.
2012-08-06Fix to knife: would sometimes miss cuts on non-planar faces.Howard Trickey
Also, there was a needless loop through all three loops of a tesselation triangle, which all share the same original face. Also, made an early out for case where an edge cut had already been discovered on a Knife edge.
2012-08-05Fix [#32260] 'Select Sharp Edges' works vice versaBastien Montagne
We want to select edges sharpest than the given threshold, i.e. which faces’s angle is below the limit! Looks like BMesh switched this somehow...
2012-08-01fix crash in sorting mesh elements when called without a viewport.Campbell Barton
2012-07-29code cleanup: replace MIN2/MAX2 with minf/maxfCampbell Barton
2012-07-29style cleanupCampbell Barton
2012-07-28Fixed some knife cut failures.Howard Trickey
Fixes #31391. Some cases still fail but these changes are good because they fix a bogus calculation of the 'basef' of some cut segments.
2012-07-27Fix #32199: Smooth Vertex no longer has X, Y and Z options.Sergey Sharybin
2012-07-27use B key to toggle 'boundary' option for modal inset.Campbell Barton
2012-07-25change behavior of ediutmesh separate not to cleanup geometry - its not ↵Campbell Barton
really needed and caused a bug with some of my recent edits. If its important it could be added back but dont think its worthwhile.
2012-07-23Bugfix [#31994] Blend from Shape "Add" mode incorrectly added the full meshJoshua Leung
shape instead of just the difference/deltas applied by the source shape Apparently this was a regression from that crept in during the BMesh merge. I've just restored the pre-BMesh method, adapted for the BMesh style. Also, removed a somewhat superfluous (?) copy at the end of each step (from co back to sco). It didn't seem to be serving any purpose (i.e. we're not trying to modify the source shape at all).
2012-07-21use fabsf when using floats.Campbell Barton
2012-07-21add option so operators can be called with a flag, currently the only flag ↵Campbell Barton
is to respect hidden geometry. this is useful for bmesh tools that operate in object mode or for modifiers which would previously use hidden faces in some cases.
2012-07-20ignore hidden faces when splitting by loose parts of materials.Campbell Barton
2012-07-20Separate meshes by loose parts and materials now works in object mode as ↵Campbell Barton
well as editmode.
2012-07-20minor edits for bmesh apiCampbell Barton