3f9629a4c7
patch [ #36078 ] Fixes joining behavior for curves and armatures (when active object not selected).
2013-07-10 09:55:10 +00:00
aabddad346
draw loopcut display on the deformed mesh when in editmode.
2013-07-10 02:05:16 +00:00
80738a1828
add checks in paintface_flush_flags for faces which have no original index values. (could give out of bounds writes)
2013-07-09 08:25:30 +00:00
34b301f0a4
fix error where if you tried to bridge an odd number of loops after bridging pairs, there was no way to change the options.
...
eventually I think the operator api should support this but for now return finished.
2013-07-09 06:34:54 +00:00
61bbefe40d
remove unused normal-recalc flags.
2013-07-08 08:56:46 +00:00
6d9de6a72b
fix [ #35975 ] "Select Linked" = "Select All" in Weight Paint mode?
...
looks like this was broken since bmesh merge.
2013-07-03 09:53:06 +00:00
418011907c
remove nan copyrights from code added since blender become opensource (copy paste errors), also remove BKE_script.h
2013-07-02 10:14:59 +00:00
d0ce73c548
fix [ #35939 ] [Edit - Vertex mode] [Select]-[Mirror] did not returns right result.
2013-07-01 21:56:59 +00:00
e9208e99b7
bridge tool: calculate face normals before triangulating, own error when removing normal recalc from the bmesh operator.
...
also rename `Fill Grid` -> `Grid Fill` to match `Beauty Fill`
2013-07-01 07:15:12 +00:00
77e0709e48
Fix #35551 : the topology mirror setting affected shape key and vertex group but
...
this was confusing as there was no setting visible for it. Now these menus
contain an entry to mirror without and with topology mirror.
2013-06-28 17:13:09 +00:00
a7e7b69a65
Fix #35902 : build navigation mesh crash with multiple meshes selected.
2013-06-28 14:15:14 +00:00
ff39d7b4bf
fix for incorrect selection when running MESH_OT_loop_to_region, running wire-frame operator directly after would crash.
2013-06-27 05:19:25 +00:00
bb42703ea3
- remove edge collapse loop operator (now replaced by dissolve).
...
- fix missing null pointer check from own recent changes.
- add asserts if BLI path functions are given wrong id's
2013-06-27 01:10:19 +00:00
a7858767f4
fix [ #35858 ] Weight Paint: Hiding faces isnt flushing the flag to the vertices.
2013-06-26 02:47:56 +00:00
45d7ebbdf2
Include DNA_scene_types before ED_object instead of forward enum declaration
...
Forward enum declaration is a bad idea, especially for C++ which requires
enum specification to dteermine which data type to use to store it.
Alternative would be to not use enum as an arument and pass it as int,
but actually would rather be strict on typing -- using explicit enum
as parameter type helps understanding the code and prevents possible
mistakes when using the function.
2013-06-25 09:27:31 +00:00
28dd9c6a40
Fix #35767 : transforming nodes in the node editor changed the wireframe color
...
of the active object in the 3D view. This was due to sharing a global G.moving
flag to indicate that transform is active, now it's only set per transform data
type so different editors don't influence each other.
2013-06-24 22:41:37 +00:00
bfd0ceb4e0
fix own error with updating edge tagging (seams didnt work)
2013-06-24 05:26:42 +00:00
69d1e8187c
make behavior for edge tagging more predictable.
...
last-picked edge is always selected+active.
2013-06-24 05:24:27 +00:00
781184562b
add api calls for BM_mesh_active_vert/edge_get.
...
inspecting the edit-selection inline was cumbersome.
2013-06-24 04:51:56 +00:00
bc79e226ee
de-duplicate ED_mesh_active_dvert_* functions.
...
not to devs - please don't just copy static functions around, make them api calls and add to headers.
2013-06-24 04:41:03 +00:00
e4bb913510
Extend existing editmesh connect tool so it can connect across multiple faces.
...
only use this when 2 vertices are selected, otherwise use the same behavior as before.
This works a little like a fast knife tool, but it only cuts straight lines and doesnt depend on the view-port.
Examples:
- http://www.graphicall.org/ftp/ideasman42/mesh_connect_pair.png
- http://www.graphicall.org/ftp/ideasman42/mesh_connect_pair_curve.png
2013-06-22 17:25:02 +00:00
c00b408052
Snap to Symmetry (editmesh tool)
...
Update from a script I had in 2.4x, useful if you have mesh data which is _almost_ symmetrical,
there was no good way to automatically make the minor adjustments to make the mesh fully symmetrical.
Options for...
- symmetry-axis.
- blending between the +/- side.
- center mid verts.
Access from Mesh menu.
2013-06-19 21:35:06 +00:00
1ed8343d6d
add axis option to EDBM_verts_mirror_cache_begin
2013-06-19 21:23:00 +00:00
d54d00ef84
Remove paranoid null checks for editmesh EDBM_vert_at_index and friends (use asserts instead).
...
temp set BM_OMP_LIMIT to zero for better testing before release.
2013-06-19 18:59:54 +00:00
06e1bc6178
internal editmesh api: add an extended version of EDBM_verts_mirror_cache_begin which takes arguments to give some more control.
2013-06-19 18:22:00 +00:00
fcc4251c07
resolve [ #33374 ] Extrude and mirror editing
...
mirror editing option was only added to extrude so mirror editing would always be disabled.
the option is now hidden to avoid confusing users.
2013-06-16 05:35:44 +00:00
72abfbfc95
fix automerge + mirror, previously only the selected verts would auto-merge.
2013-06-16 05:13:12 +00:00
6a60bf2f03
Added support for Vertex Weight panel in weight Paint Mode
2013-06-15 10:18:16 +00:00
bab2dacc6c
removed unnecessary return statement
2013-06-15 09:53:59 +00:00
64d6810cd9
Change edgeloop delete to use dissolve, fixes bug [ #35738 ].
...
Was using edge-slide & remove-doubles but this was error prone since remove doubles could fail in some cases or find doubles where it shouldn't (with very small scale objects).
This gives more predictable behavior when the edges of a loop wouldnt slide (in that case they would just drag over to one of the sides with no user control)
and multiple edge loops work better too. eg:
- http://www.graphicall.org/ftp/ideasman42/edge_loop_del_update.png
2013-06-14 03:04:36 +00:00
b913385e32
bmesh edge dissolve: add option use_face_split (matching vertex dissolve option),
...
useful to avoid odd shaped ngons surrounding dissolved edges.
2013-06-14 02:30:40 +00:00
501f655503
fix [ #35648 ] Loop cut, smoothness showing wrong symmetrical
...
this is more of a feature request then a bug, but nicer to use even smoothing offset for loopcut smoothing.
2013-06-10 04:33:05 +00:00
860fce4eb9
Code cleanup: removed some unused UI button types
...
* CHARTAB: not needed anymore with improved copy/paste support and text input.
* IDPOIN: replaced by SEARCH_MENU.
* ICONROW/ICONTEXTROW: replaced by RNA enums.
* NUMABS: can use min/max limits instead.
* BUT_TOGDUAL, TOG3, TOGR, SLI: not used in 2.5 interface.
2013-06-09 18:05:50 +00:00
666c8b51ca
changes to mirror tools
...
- give feedback on how many mirror verts succeed/fail (for select mirror, shape key mirror, weight mirror)
... when a mirror failed it was confusing and not obvious what was going on.
- slight change to select mirror, now center vertices will remain selected.
- speedup to EDBM_verts_mirror_cache_begin, cache customdata layer offset.
2013-06-05 05:58:51 +00:00
d7bba8bc8b
Fix #35623 : separate mesh operator did not redraw the outliner.
2013-06-04 15:56:14 +00:00
c21f7116c0
correct error getting the selection from recent change.
2013-06-04 05:03:36 +00:00
48fd740096
edit-mesh improvements to select shortest path
...
- Ctrl+RMB only worked for edges & faces
- Menu item 'Select Shortest Path' only worked for vertices.
Now Ctrl+RMB works for vertices and the menu item works for verts/edges/faces (depending on the current selection).
2013-06-04 01:23:51 +00:00
790e9d9fa0
fix [ #35311 ] Planar Decimate / Limited Dissolve fails to merge some adjacent faces
...
optionally limit by face flipping, also added support to delimit by material and edge crease.
2013-06-03 05:07:16 +00:00
3ea4d7ff01
fix [ #35603 ] Crash with "Tag Freestyle Edge Mark"
2013-06-02 23:58:53 +00:00
dfad9b0c09
fix [ #35555 ] Collada: export destroys mesh in some cases
...
add arguments to calculate normals when converting to bmesh:
BM_mesh_bm_from_me, DM_to_bmesh
This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-06-02 23:20:49 +00:00
58a748431e
correct cast to uintptr_t for smallhash use.
2013-05-31 00:19:38 +00:00
9fb3d3e032
remove redundant includes from cmake and scons.
2013-05-30 02:16:22 +00:00
7c97a95911
improve topology mirror, increase chance of finding unique match.
2013-05-29 01:21:49 +00:00
de3686ac25
fix [ #34851 ] "UnitSettings.scale_length" not beeing calculated the same way for all objects
2013-05-28 23:07:16 +00:00
225c5fee6b
move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)
...
remove MEM_sys_types.h which was a duplicate.
2013-05-28 19:35:26 +00:00
ef4db04da8
code cleanup: lots of calls to BKE_mesh_calc_normals_mapping were not using the mapping functionality.
...
replace ED_mesh_calc_normals with BKE_mesh_calc_normals().
2013-05-28 14:23:07 +00:00
083115c5e7
bmesh optimization: use offsets for deform-vert lookups to avoid customdata layer lookups within loops.
2013-05-27 12:42:48 +00:00
ec8d277c64
BLI_math rename functions:
...
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4
these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
b7c36b9511
bmesh: replace array reallocation with a single face array and use STACK macros.
2013-05-25 21:24:09 +00:00
0ff22044cd
Support for bridge tool subdivisions, smoothing and shape along the profile.
...
also added the underlying subdivision as a standalone operator in the edge menu, named: subdivide edge-ring.
http://www.graphicall.org/ftp/ideasman42/bridge_subd.png
2013-05-23 06:19:04 +00:00