Campbell Barton
8496a5a501
replace vertex slide with the transform operator. (MESH_OT_vert_slide -> TRANSFORM_OT_vert_slide)
2013-01-15 03:48:13 +00:00
Campbell Barton
b27854bd47
use booleans for bmesh api.
2013-01-14 16:42:43 +00:00
Campbell Barton
9f2e845181
code cleanup: use BMW_begin insode for loops body.
2013-01-14 09:53:56 +00:00
Campbell Barton
d476113c05
fix [ #33847 ] Ctrl+L doesnt works in edge selection mode
...
own bug caused be changes to selection flushing.
2013-01-14 08:32:02 +00:00
Campbell Barton
3225131223
speedup for EDBM_uv_vert_map_create(), reduce customdata lookups. also remove redundant check for hidden faces.
2013-01-12 20:01:09 +00:00
Campbell Barton
c93e127e7a
code cleanup: style and replace (float)sin, (float)cos with sinf, cosf
2013-01-12 14:28:23 +00:00
Campbell Barton
5e6917a18e
patch [ #33738 ] Extend Selection option unified and added to few operators
...
from Sebastian Nell (codemanx), with minor edits
2013-01-12 10:48:10 +00:00
Campbell Barton
45c453c9b1
replace inline with BLI_INLINE define.
2013-01-12 10:39:09 +00:00
Howard Trickey
d1d3384750
Fix knife angle constraint bug #33813 by changing knife mvals to floats.
...
The problem was that by snapping the integer mouse values to
lines through the previous point, the angle was slightly off.
2013-01-11 14:13:22 +00:00
Campbell Barton
1df1f9fdd3
adding vertex color layer in mesh editmode would overwrite UV's, strange nobody reported this since its been there since 2.63.
2013-01-10 13:59:52 +00:00
Campbell Barton
ceb9701507
don't store bevel weights or edge crease customdata layers in editmode unless they are needed.
...
configurable in 'Geometry Data' panel, will be added when running crease edges transform for example.
2013-01-10 04:43:31 +00:00
Campbell Barton
e24443b79a
style cleanup
2013-01-09 03:30:15 +00:00
Campbell Barton
67a6d4dd56
fix for select flushing in face mode for mesh 'Select More'
2013-01-08 17:40:36 +00:00
Campbell Barton
36f79eab20
fix [ #33784 ] Select Linked All + Seams fails to select seam bounded area
...
was incorrectly flushing vertex selection.
2013-01-08 17:30:06 +00:00
Bastien Montagne
5b72578a13
Tsst... "faled"... :p
2013-01-05 11:50:36 +00:00
Campbell Barton
4190169282
code cleanup, also remove glError check in font drawing code since its now a debug option.
2013-01-04 17:24:40 +00:00
Howard Trickey
0f56514986
Fix knife cut bug #33625 , failure to cut in otho mode sometimes.
...
Problem was that the code to limit the front and back planes
for better precision assumed line would have center near origin.
2013-01-04 15:06:34 +00:00
Campbell Barton
ab913fe15d
add length average option to 'Follow Active Quads' unwrap, gives nicer results.
2013-01-04 07:57:33 +00:00
Campbell Barton
6fabbcb4dd
fix [ #33758 ] Blender crashes when user goes to choose "build navigation mesh"
...
Give useful reports when the 'MESH_OT_navmesh_make' fails too.
2013-01-04 05:43:26 +00:00
Campbell Barton
8ca977b16e
change limited dissolve angle limit default from 15 -> 5 deg. since 15deg is quite high for 2 surfaces to be considered co-planar
2013-01-03 08:09:57 +00:00
Campbell Barton
ec1681fae7
style cleanup
2013-01-02 01:49:07 +00:00
Campbell Barton
1692f17c9b
fix for long standing annoyance with weight-paint mode selection.
...
There was no selection flushing when faces or verts were selected, this allowed incorrect selection states like selected face with unselected vertices.
add flush commands to paintface_flush_flags() and paintvert_flush_flags()
2013-01-01 13:08:07 +00:00
Nicholas Bishop
ab960eea88
Add symmetrize operator for dynamic-topology sculpt mode
2012-12-30 18:31:01 +00:00
Campbell Barton
4e88bfca1b
fix [ #33677 ] Lambda is un-settable for mesh.vertices_smooth_laplacian
...
lambda is python keyword.
2012-12-28 11:12:46 +00:00
Howard Trickey
4e5d5e0d84
Add 'vertex_only' option to bevel tool.
...
Right now, changing segments to > 1 doesn't do anything,
but intend to work on making that cause rounded corners.
2012-12-28 02:45:10 +00:00
Campbell Barton
45681464e7
use foreachMappedVert for ED_mesh_pick_vert()
2012-12-23 02:32:03 +00:00
Campbell Barton
b3128cf406
minor speedup ED_mesh_pick_vert, ED_mesh_pick_face_vert
...
avoid matrix multiply, use len_manhattan_v2v2
2012-12-23 02:04:38 +00:00
Campbell Barton
0ac66ada2d
initial support for 'occlude background geometry' in weight paint mode.
...
Only support mouse vertex select at the moment.
2012-12-23 01:54:11 +00:00
Campbell Barton
2a5cabb039
code cleanup and minor changes
...
- use DummyRNA_NULL_items to replace empty enums.
- replace calloc with malloc in copy_dverts since its copied over after.
- add wmGesture->userdata, so operators that use gestures have somewhere to store their own data (not used yet).
2012-12-22 01:08:42 +00:00
Campbell Barton
b249255859
fix own error in bmesh/openmp unhiding, set BM_OMP_LIMIT to 0 so we can spot these cases more easily (will change before release).
2012-12-21 06:06:17 +00:00
Campbell Barton
b2c66e268f
replace MIN/MAX 3,4 with inline functions
2012-12-21 05:07:26 +00:00
Campbell Barton
c27d22ab71
fix own regression in 2.65 [ #33643 ] Rotation does not work at certain zoom level
...
caused by not projecting points behind the perspective view,
even though this worked in 2.64 the values were flipped (rotating direction was reversed and the center point was flipped).
added V3D_PROJ_TEST_CLIP_NEAR, when omitted ED_view3d_project_*** will project points from behind a perspective view plane.
2012-12-21 03:49:47 +00:00
Campbell Barton
66cac9ba71
extrude individual was crashing.
2012-12-19 15:15:00 +00:00
Campbell Barton
192e00b0c9
code cleanup: use interp_v3_v3v3()
2012-12-19 04:59:47 +00:00
Campbell Barton
1f3e3b0d68
include cleanup
2012-12-19 04:49:32 +00:00
Antony Riakiotakis
738c482101
uv edge based stitch. Useful to disambiguate betwen islands
...
when uvs are shared by more than two islands. Uv edges
usually belong to only two islands, making for much cleaner
stitches. To change between stitch modes, press TAB.
Initial mode depends on the selection mode of the image
editor. Documentation can also be found on the release wiki
2012-12-17 20:14:07 +00:00
Bastien Montagne
83b03b8dfd
Fix [ #33590 ] The Screw Tool in Edit Mode isn't calculating the correct angle step divisions per turn.
...
Degrees were used as radians... :p
Also tweaked min values of steps and turns!
2012-12-17 19:26:09 +00:00
Campbell Barton
1fe6d543a5
fix/workaround [ #33493 ] checker de-select and edge loops
...
Checker de-select by default would give uneven selection on a circle, this isnt really a bug but the offset used would give unevenly spaced selection even if the 3rd vertex for eg could be evenly selected on a circle.
Change how the offset works so the active element always remains selected when the offset is set to zero, this tends to give more even de-selection.
2012-12-17 15:02:26 +00:00
Bastien Montagne
ab2c273b12
Added GPL header to sconscripts!
...
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-17 08:01:43 +00:00
Campbell Barton
18cb2d208c
code cleanup: use 'const float *' when getting the 3d cursor and not editing it.
2012-12-17 05:38:50 +00:00
Howard Trickey
f596cb2721
Fix knife cut-through bug #33571 .
...
The code to connect across a face didn't stop after it found one.
2012-12-17 00:31:59 +00:00
Campbell Barton
9a2290cf5f
fix for bevel using the wrong property name when shift was held.
2012-12-16 14:22:48 +00:00
Campbell Barton
d6a291ca37
fix another crash from missing update in Auto-Merge from r52911
2012-12-13 00:41:23 +00:00
Brecht Van Lommel
f1d3a2e130
Fix error compiling in debug build, should test #ifndef NDEBUG instead of
2012-12-12 16:51:05 +00:00
Campbell Barton
d5c2a1f8f4
remove context argument from EDBM_update_generic()
2012-12-12 15:22:54 +00:00
Campbell Barton
8e9a6871b4
fix for crash in own commit r52911
2012-12-12 15:01:27 +00:00
Campbell Barton
f06370dd44
fix for EDBM_index_arrays_ensure not working as intended.
2012-12-12 07:31:22 +00:00
Campbell Barton
2ee180eab6
add threshold for bmesh & openmp so its not used with low poly meshes, BM_OMP_LIMIT may need tweaking.
2012-12-12 07:20:34 +00:00
Campbell Barton
44b634bcb1
make EDBM_index_arrays's stay in memory, blender was allocating an array and filling it for verts/edges/faces on every redraw.
...
this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use.
in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
2012-12-12 06:53:39 +00:00
Campbell Barton
cf723e5e7c
use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.
2012-12-12 05:27:52 +00:00