25c96bc9f3
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20 01:02:39 +00:00
e00bf04912
fix [ #32575 ] Seperate more than one object from a mesh generates additional edges
2012-09-19 00:09:14 +00:00
4172997675
Merged changes in the trunk up to revision 50607.
...
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
2012-09-15 00:15:24 +00:00
0ecbc047e8
code cleanup
2012-09-06 23:41:03 +00:00
141dd5233e
Merged changes in the trunk up to revision 50257.
...
Conflicts resolved:
source/blender/blenkernel/CMakeLists.txt
2012-08-29 00:53:29 +00:00
3da7e0f3bf
mesh bridge tool now leaves bridge faces selected.
2012-08-24 17:58:49 +00:00
b5e90d6b1c
fix [ #32357 ] Subdivide fails on newly created edge
...
problem since bmesh merge, new edges were not selected.
2012-08-24 14:54:14 +00:00
efa97ea40f
Fix #32391 : new remove doubles "unselected" option was enabled by default, don't
...
think this was intentional.
2012-08-23 10:56:16 +00:00
c0c575751d
bmesh tool: support for merged-bridge (like bridge, collapsing), with a
...
factor to blend between loops.
2012-08-23 04:55:59 +00:00
857a3cd112
Fix #32334 : mesh separate by material with > 2 materials could include some
...
incorrect extra edges.
2012-08-21 14:49:07 +00:00
be4ac3a860
Fix #32355 : select vertex path not working when vertices are selected with e.g.
...
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-21 13:19:31 +00:00
817965613b
added 'Unselected' option to remove doubles, merges selected vertices into unselected ones, but not each other.
2012-08-20 00:11:13 +00:00
44e4c5f831
Merged changes in the trunk up to revision 49797.
2012-08-12 00:09:57 +00:00
c8cdad1748
fix [ #32300 ] Convex Hull Poll Shouldn't Require 3D View
2012-08-10 11:38:52 +00:00
4ea2fb8b0a
Merged changes in the trunk up to revision 49478.
...
Conflicts resolved:
source/blender/blenkernel/intern/library.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/interface/resources.c
source/blender/makesrna/intern/rna_scene.c
2012-08-02 00:10:05 +00:00
f86bd9d39a
fix crash in sorting mesh elements when called without a viewport.
2012-08-01 14:51:49 +00:00
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
718569dc16
Fix #32199 : Smooth Vertex no longer has X, Y and Z options.
2012-07-27 17:35:02 +00:00
409a6ee57b
use B key to toggle 'boundary' option for modal inset.
2012-07-27 14:17:05 +00:00
99947eb744
change behavior of ediutmesh separate not to cleanup geometry - its not 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-24 21:07:29 +00:00
a5d08781fc
Bugfix [ #31994 ] Blend from Shape "Add" mode incorrectly added the full mesh
...
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-23 13:33:09 +00:00
90d215535e
add option so operators can be called with a flag, currently the only flag 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-21 00:58:02 +00:00
3b012c041f
Merged changes in the trunk up to revision 49090.
2012-07-20 23:12:05 +00:00
e94ef6ca6c
ignore hidden faces when splitting by loose parts of materials.
2012-07-20 13:54:05 +00:00
3b26b46631
Separate meshes by loose parts and materials now works in object mode as well as editmode.
2012-07-20 10:33:15 +00:00
9c8edae7d4
fix for separate loose parts doing full depsgraph rebuild for every object split off.
2012-07-19 10:23:25 +00:00
01c3db149c
Fix [ #32086 ] Missing bevel "hold shift" for better accuracy.
...
This commit adds "shift" and numtype to both Bevel and Inset mesh operators.
It also gets rid of the magicnumber used in NumInput to str operation (currently, 20 chars per element, now defined as NUM_STR_REP_LEN in ED_numinput.h).
2012-07-14 14:03:36 +00:00
065605e0da
Merged changes in the trunk up to revision 48893.
...
Conflicts resolved:
source/blender/blenkernel/CMakeLists.txt
source/blender/blenloader/intern/readfile.c
source/blender/editors/animation/anim_filter.c
source/blender/makesrna/RNA_enum_types.h
2012-07-13 23:23:06 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
b7b5029814
Merged changes in the trunk up to revision 48695.
2012-07-06 23:46:48 +00:00
558721ab59
More spell checking.
2012-07-04 15:04:38 +00:00
42aaa47e9b
dont display image sequences outside the frame range in the 3D viewport.
2012-07-03 14:04:39 +00:00
98a7ca61fa
Merged changes in the trunk up to revision 48505.
2012-07-03 00:02:45 +00:00
2932cded40
fix for own error renaming bmesh operator dupe
2012-06-30 21:19:12 +00:00
69a7e0af02
rename bmesh ops since they are exposed in an api now.
2012-06-30 15:27:13 +00:00
8135cc9f95
Merged changes in the trunk up to revision 47700.
...
Conflicts resolved:
source/blender/blenkernel/BKE_main.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/library.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/interface/resources.c
source/blender/makesdna/DNA_ID.h
source/blender/makesdna/DNA_action_types.h
source/blender/makesdna/intern/makesdna.c
source/blender/makesrna/SConscript
source/blender/makesrna/intern/rna_internal.h
source/blender/makesrna/intern/rna_main.c
source/blender/makesrna/intern/rna_main_api.c
source/blender/windowmanager/WM_types.h
2012-06-10 20:50:43 +00:00
5534701e5d
style cleanup: use capital camel case names for typedef's
2012-06-10 15:20:10 +00:00
6e9e758d60
fix for un-initialized memory use for modal inset/bevel.
2012-06-10 09:05:49 +00:00
6cff0b71a7
style cleanup
2012-06-05 21:54:21 +00:00
329b05dcd7
Merged changes in the trunk up to revision 47381.
...
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
2012-06-03 21:11:10 +00:00
1aa27e240c
code cleanup: replace some non utf8 chars
2012-06-03 11:16:13 +00:00
b6a9a953bc
Merged changes in the trunk up to revision 47056.
...
Conflicts resolved:
source/blender/bmesh/bmesh_class.h
source/blender/bmesh/intern/bmesh_construct.c
source/blender/editors/interface/resources.c
source/blender/render/intern/source/convertblender.c
2012-05-26 22:22:45 +00:00
57b488574a
style cleanup: comma placement
2012-05-23 22:45:39 +00:00
d2a37d464a
code cleanup: double promotion warnings
2012-05-22 21:16:59 +00:00
3896ad4cbb
code cleanup: spelling
2012-05-20 21:23:26 +00:00
2d2d36fe3b
code cleanup:
...
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.
2012-05-20 19:49:27 +00:00
af3e348430
code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars.
2012-05-19 13:28:19 +00:00
a5152b7ca0
Merged changes in the trunk up to revision 46787.
...
Conflicts resolved:
source/blender/blenkernel/intern/idcode.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/include/ED_anim_api.h
source/blender/editors/include/UI_resources.h
source/blender/makesrna/intern/rna_main.c
2012-05-19 08:40:56 +00:00
5ff7ede1b5
modal operation for bevel and inset:
...
This commit adds some first building blocks for the two operators to work modally based on mouse input. To make their function easier, two hotkeys are introduced, Ctrl+B for bevel and I for inset.
TODO:
After discussion with Campbell, we would like to add scale-style line indicators for the operators. This is already done for transform operators but a new interface for mesh operations may have to be written using pieces from that code since, strictly speaking bevel and inset are not exactly "transform" operators.
Also, a better input method for inset is needed and more options exposed. The method implemented right now uses mouse move for thickness and ctrl-mouse move for depth. These are calculated using the distance of the selection center in screen space and the mouse position. While that may work and prevents abrupt changes in values when switching from thickness tweak mode to depth tweak mode, it limits the magnitude of values that can be put into the tool especially in small or large scale.
Alternatives until a better method is written include:
* use relative offset (works but may give strange results)
* tweak manually after the operation.
2012-05-16 14:30:41 +00:00
2be8263db4
style cleanup: indentation
2012-05-16 12:14:31 +00:00