Campbell Barton
29e8c46e30
Rename 'Extend Vertex' to be clear it operates on many vertices
2014-06-14 16:27:46 +10:00
Campbell Barton
5861e528d6
New Editmesh Tool: Extend Vertex, (Alt+D) D512
...
Helps to easily add details to existing edges.
Similar to the rip tool it depends on cursor location to choose the edge to extend along.
2014-06-14 01:43:25 +10:00
Campbell Barton
bf462149a6
BLI_bitmap: rename macros
...
- BLI_BITMAP_SET -> BLI_BITMAP_ENABLE
- BLI_BITMAP_CLEAR -> BLI_BITMAP_DISABLE
- BLI_BITMAP_GET -> BLI_BITMAP_TEST
- BLI_BITMAP_MODIFY -> BLI_BITMAP_SET
2014-06-14 00:47:12 +10:00
Campbell Barton
9db947df41
Editmesh: Replace SmallHash with GSet for MESH_OT_loop_to_region
...
There no reason to assume hash will be small in this case
2014-06-14 00:47:12 +10:00
Antony Riakiotakis
7b5fe4f316
Fix flickering when transform snapping in edit mode and cursor is
...
slightly outside the mesh.
Reported by Thomas Beck on irc. Issue here is that the mesh bounding box
changes as we are transforming the vertices. Solution is to collide
against the initial bounding box. Unfortunately the snapping functions
are made in a way that a lot of code needed to be tweaked here, but the
change should be straightforward and harmless (famous last words, I
know).
Ideally we might want to even increase the size of the bounding box a
little (as seen in screen space) to allow snapping even in cases where,
cursor is slightly outside the bounding box, but since this is not so
straightforward to do for all cases, at least for me, leaving this as
a TODO.
2014-06-12 01:43:38 +03:00
Campbell Barton
d53ed58c57
BMesh: avoid OpenMP use for low poly meshes (counting selection)
...
also use schedule(static) for simple for loops.
2014-06-06 23:54:15 +10:00
Campbell Barton
4e13616b04
Checker Deselect: keep active item selected by default
2014-05-23 20:50:27 +10:00
Campbell Barton
bec8cee7cf
Fix T40324: Checker deselect fails for edge-rings
2014-05-23 20:50:27 +10:00
Campbell Barton
7e78322eef
BMesh Walker: rename BMW_SHELL -> BMW_VERT_SHELL
2014-05-23 20:50:27 +10:00
Campbell Barton
07ffd9c790
Fix T40309: Select inner region 'bigger' failed with equal regions
2014-05-22 14:58:34 +10:00
Bastien Montagne
a217db0d63
Fix T40297: Crash while ripping an edge when autosmooth is activated.
...
Turned out there was still quite a few cases were indices were set dirty,
but elem_index_dirty was not tagged accordingly (mostly for BM_LOOP,
but a few others as well). So probably this crash was not the only one
hidden here.
Hopefully all possible cases were catched this time!
2014-05-21 22:37:50 +02:00
Campbell Barton
71c11dbb02
Fix T40252: Knife snapping ignores axis-constraint
2014-05-20 13:53:52 +10:00
Campbell Barton
46bd759964
Code cleanup: rename BM_face_legal_splits -> BM_face_splits_check_legal
2014-05-13 17:48:25 +10:00
Campbell Barton
7660218202
Correct fix for knife interior use, distance needed to be in object-space
2014-05-06 09:32:06 +10:00
Campbell Barton
d2920e9876
Knife too: was using a ray-cast direction scaled down by the knife epsilon
2014-05-06 09:02:16 +10:00
Campbell Barton
cd9aed7059
Fix T38623: Knife tool completely failing on interior geometry
2014-05-06 08:35:43 +10:00
Campbell Barton
b82d639f3d
Stop all dynamic enums using translations (from blend file data)
2014-05-05 15:23:35 +10:00
Campbell Barton
4ca67869cc
Code cleanup: remove unused includes
...
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-05-01 04:47:51 +10:00
Campbell Barton
48446870a8
Code cleanup: remove redundant CTX calls
2014-04-30 08:11:47 +10:00
Campbell Barton
d7d2e71a03
Correct some errors in auto-cleanup
2014-04-27 22:02:59 +10:00
Campbell Barton
b6e967be63
Code cleanup: const args and arrays
2014-04-27 08:56:54 +10:00
Campbell Barton
c67bd49e56
Code cleanup: use 'const' for arrays (editors)
2014-04-27 00:25:15 +10:00
Howard Trickey
f2f3ef8692
Fix Knife bug T39617: midpoint snap should affect intermediate points.
...
This reverts to the 2.69 behavior, where the snap-to-midpoint option
affected the intermediate crossed edges as well as the endpoints.
2014-04-16 14:19:36 -04:00
Bastien Montagne
7d45ddae33
Add Edge sharp/smooth to 3DView shading panel, as well as new Vert sharp/smooth.
2014-04-16 15:26:48 +02:00
Campbell Barton
a15b3c4d11
Code cleanup: use bool
2014-04-11 11:33:29 +10:00
Campbell Barton
412826a504
Mempool: delay allocating an initial chunk, its not always used
2014-04-08 12:58:56 +10:00
Campbell Barton
5873160242
Code cleanup: strict flags for bmesh_log
2014-04-03 17:13:31 +11:00
Campbell Barton
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
Campbell Barton
2a25676168
Fix for inset bug (edge rail had feedback loop with direction)
...
also disable edge-rail by default.
2014-03-28 21:38:12 +11:00
Campbell Barton
5256a5d66c
BMesh: let vert-connect make degenerate faces when only 2 verts selected
2014-03-27 12:52:34 +11:00
Campbell Barton
a91247c2b4
Code cleanup: unreachable break/return
2014-03-19 12:47:09 +11:00
Campbell Barton
7da2175271
KDTree: deprecate 'normal' argument
...
Normals for each kdtree node were allocated but never used,
and search args only use in particles/boids code.
2014-03-18 09:14:47 +11:00
Campbell Barton
ec4e12d9a2
Code cleanup: comments and typos
2014-03-18 05:40:18 +11:00
Campbell Barton
caf8684b50
EditMesh: Support contracting the selection as well as extending
...
This allows for holding ctrl while switching from face->edge modes to
select an edge-ring.
2014-03-17 00:25:34 +11:00
Campbell Barton
35ed7486c7
Mesh API: rename 'octree' to 'spatial' since internally its using kdtree
2014-03-13 01:49:47 +11:00
Campbell Barton
5bceb00a61
Mesh API: replace octree mirror with kdtree
2014-03-13 01:49:47 +11:00
Campbell Barton
57dba73917
View3d: take pixelsize into account for selection distance
2014-03-11 15:34:19 +11:00
Campbell Barton
276ef3b3b5
Editmesh: Toggle between all edge-loop boundaries when selecting
...
Now Alt+RMB,RMB will select all connected boundaries.
There are times when you just want to select an entire boundary loop
ignoring face topology, previously there was no way to do this.
2014-03-07 10:39:31 +11:00
Campbell Barton
a7a7a032a6
Mesh: loopselect return cancelled when no selection made
...
also un-indent main function body.
2014-03-07 10:39:30 +11:00
Howard Trickey
c1be7e12ee
Fix T37510 Knife missed cuts on small faces.
...
For very thin faces, knife sometimes missed cutting a few.
Problem was that a test for edges being totally inside a face
was being applied in inappropriate circumstances. An assumed
invariant about the knife hit structure is not true when
actually in the middle of making cuts.
Also make a 'big epsilon' a little smaller, though don't think
that was the problem in this bug.
2014-03-06 10:55:12 -05:00
Campbell Barton
d3ec3fd968
Fix Snap to Symmetry failing to select the vertex from the right side
2014-03-01 15:40:20 +11:00
Campbell Barton
13ea967cce
Code cleanup: correct abs use and quiet warnings
2014-03-01 14:26:18 +11:00
Campbell Barton
1e05956a0b
Fix T38872: Crazyspace could use stale derivedMesh data.
2014-02-28 20:12:45 +11:00
Campbell Barton
ea269c21ea
Code cleanup: move edit-derivedmesh free to BKE_editmesh_free_derivedmesh
2014-02-28 20:12:45 +11:00
Campbell Barton
a815e04f72
Fix T38834: Knife constraint is offset after moving the view
2014-02-27 13:28:25 +11:00
Brecht Van Lommel
59a0828ac1
Fix T38856: mark seam in search menu clearing the seam in some cases.
...
It should not remember the operator property for the next time here.
2014-02-26 20:56:36 +01:00
Campbell Barton
cf0120b189
Fix for own regression: remove doubles deselected faces
2014-02-26 23:42:47 +11:00
Campbell Barton
b5b1ce9d21
BMesh: add overwrite option to BM_mesh_elem_hflag_enable/disable_test
2014-02-26 23:42:47 +11:00
Campbell Barton
081a3412a9
Paint API: add BKE_paint_select_elem_test: to check on paint selection
2014-02-26 16:00:54 +11:00
Campbell Barton
073a1f8f7c
Revert "Fix T38819: Mark Seam misbehaves when accessed through spacebar search"
...
This reverts commit d47d030275 .
This isn't a bug.
2014-02-25 14:06:37 +11:00