760dbd1cbf
Cleanup: misc spelling fixes
...
T68035 by @luzpaz
2019-08-01 14:02:41 +10:00
604fdb6e85
Spelling fixes in comments and descriptions, patch by luzpaz
...
Differential Revision: https://developer.blender.org/D3744
2019-07-31 14:27:35 +02:00
ee192a35e8
Cleanup: comments (long lines) in bmesh
2019-04-29 22:06:26 +10:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
8d7005d715
Cleanup: style, use braces for bmesh
2019-03-27 17:14:36 +11:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
fc9fa07c0e
BMesh: BM_face_exists no longer uses return arg
...
Just return the face or NULL, like BM_edge_exists(),
Also for BM_face_exists_overlap & bm_face_exists_tri_from_loop_vert.
No functional changes.
Old code did some partial overlap checks where this made some sense,
but it's since been removed.
2016-11-14 04:33:35 +11:00
0a026033ae
BMesh: make toolflags optional
...
Saves 8 bytes per vert/edge/face.
Gives overall ~20-25% memory saving for dyntopo sculpting
and modifiers that use BMesh.
2016-07-01 19:29:22 +10:00
304501193b
Fix T48356: Bridge tool creates self-intersecting loop
...
When loops are planar to eachother, initialize their winding based on surrounding geometry.
2016-05-06 10:22:02 +10:00
4e500101a7
Cleanup: quiet -Wcomma, cast to void where needed
2016-03-05 09:16:12 +11:00
7ef3c40902
Cleanup: warnings (misleading-indentation)
2016-01-11 09:23:11 +11:00
b1c4d21e2e
BMesh: support splitting edge-loops when expanding
2015-11-19 22:52:17 +11:00
ea5f9fee8d
Cleanup: function arg wrapping
2015-05-05 16:34:38 +10:00
2b595579e3
Fix T43013: Flip with bridge aligned loops
2014-12-26 20:22:21 +11:00
b64e36d26d
BLI_listbase: consistent name prefix
2014-07-30 15:01:16 +10:00
63caaa2b12
Code Cleanup: rename vars for detecting change to be more consistent
...
rename change/is_change/is_changed/modified -> changed
also use bools over int/short/char and once accidental float.
2013-11-26 06:39:14 +11:00
590f58d455
code cleanup: redundant includes and add minor comments.
2013-10-08 20:18:38 +00:00
9096b3a14e
fix [ #36211 ] bridge edge loops joining vertecies that are far away
...
for bridge use a different beautify method when edge loops have non-matching loop count (simple face-angle comparison).
2013-09-17 23:23:32 +00:00
3b72f1824c
rename positive_mod to mod_i, make it work with nagative numbers (matching pythons modulo), and use in a few more places.
...
allow mesh-checker-deselect to have a negative offset.
2013-09-05 20:54:32 +00:00
2e0422b17f
add function for rotating linked list so at item is last.
2013-09-05 11:40:38 +00:00
96c668b1dd
add positive_mod() utility function.
2013-09-05 10:12:00 +00:00
9470754fd3
bmesh api cleanup, face creation args now accept an example face (as with vertex and edge),
...
also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-08-21 07:51:47 +00:00
6f856777fe
bmesh api:
...
- use heap for BM_face_create_ngon_vcloud allocations.
- replace BM_face_create_ngon_verts with more efficient BM_face_create_verts
2013-08-21 05:20:57 +00:00
09a9aa5720
add twist option to bridge tool (for circular loops)
2013-07-25 19:27:18 +00:00
7430701600
correct own incorrect check bmesh edgerin subdivide, also add missing break in orthogonalize_m3 though this one wouldn't effect release builds.
2013-07-16 11:39:48 +00:00
13e33522dc
fix for bridge tool where the 2 loops overlap (typical use for scanfill), however its nice to support with bridge too since it can do subdivisions, handles customdata and fills in quads.
2013-07-11 08:37:30 +00:00
0d18f1829a
fix [ #35989 ] bridge tool flip mash
...
open edge loops were calculating flipping incorrectly.
2013-07-05 08:45:42 +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
fad1da062d
correct typos in comments.
2013-06-25 22:58:23 +00:00
d1e78aa75d
fix for own error in recent bridge changes, make sure normals are calculated before use.
2013-06-04 17:46:19 +00:00
b577f0c16e
previous fix for #35578 didnt work right, check direction of the open edge loop too.
2013-05-31 18:58:32 +00:00
db42a596aa
fix [ #35578 ] New bridge tool; bowtie crossing when destination edges form one half of an 'X'
2013-05-31 15:48:42 +00:00
d73529b296
scene render dimension panal: avoid re-creating the framerate string on every redraw, cache the string for reuse.
...
also remove redundant returns from my last commit.
2013-05-29 14:55:06 +00:00
39f0fbef95
fix for own regression in bridge tool since rewrite, UV's were not correctly copied over.
2013-05-29 13:41:35 +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
f79e190307
fix for error in bridge tool, using freed faces from bmo input.
2013-05-17 12:05:07 +00:00
bbea18f8c1
bridge tool: fix for error in recent commit. missed NULL check for example face.
2013-05-14 10:56:18 +00:00
b48deabf4e
new bevel: fix for crash in merge, could result in collapsing faces being invalid. rather then splice each edge, use weld_verts operator which handles removing degenerate geometry.
2013-05-13 14:31:45 +00:00
51c615e1bc
new bridge tool: fix for cases with it would crash when existing faces matched the newly created ones.
2013-05-13 12:58:25 +00:00
e40d403e43
fix for bridge flipping, loops pointing away from eachother (over 90d difference) would flip
...
now check the loops are facing eachother, taking their relative positions into account.
2013-05-13 11:21:33 +00:00
f87464392c
bridge option to bridge loop pairs,
...
change the operator option to an enum: Connect Loops - open/closed/pairs
because it was getting confusing having all as bools.
2013-05-12 10:00:15 +00:00
b6345616a7
fix for 2 crashes in bridge tool mixing open/closed loops with different vertex counts.
2013-05-12 04:08:45 +00:00
9cd0c5f7fb
bridge tool: support for bridging loops with different numbers of vertices.
2013-05-12 03:36:41 +00:00
dc1a36534d
add support for bridging multiple edge loops at once.
2013-05-11 16:20:29 +00:00
55f929ab3d
- add generic edge-loop utility functions for bmesh.
...
- rewrite bridge tool to use the new functions (using edge & vertex arrays was quite cumbersome).
2013-05-11 14:40:03 +00:00