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
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
2f372654b6
BMesh: keep selection history when removing doubles
...
Auto-merge would loose the active vertex.
2019-01-17 12:36:17 +11:00
07e9fb8ec6
BMesh: calls to store selection at the list head
2015-05-19 23:51:57 +10:00
89f5a09ab4
Cleanup: use 8 space indent for multi-line args
2015-04-25 20:15:20 +10:00
488b342741
BMesh: optimize selection flushing
...
De-selecting a face would do flushing checks on each vertex 3 times, now only do once.
2015-02-03 19:59:39 +11:00
ca1bca442a
Fix T40993: Store selection history for extrude
2014-08-25 16:57:38 +10:00
28a08e7ae6
Cleanup: BMesh arg name
2014-08-22 16:16:19 +10:00
b5b1ce9d21
BMesh: add overwrite option to BM_mesh_elem_hflag_enable/disable_test
2014-02-26 23:42:47 +11:00
731672fc9b
bmesh utility functions for storing an editselection after another in the list.
2013-08-14 09:13:11 +00:00
5a9c012d86
fix for bug in rip tool, isolated verts would remain selected after ripping.
2013-08-13 01:52:36 +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
b27854bd47
use booleans for bmesh api.
2013-01-14 16:42:43 +00:00
fe9b1c644f
Fix #32458 : changing UV image in image editor not working when the active face
...
was not selected. Now changed it so that the active face must also have its
UVs shown in the image editor to be used as the source of the image shown.
2012-08-31 15:01:40 +00:00
c8db1e832d
minor edits for bmesh api
2012-07-20 09:49:54 +00:00
d5032657ed
style cleanup
2012-06-06 22:38:39 +00:00
c4abd6cf5a
code cleanup: edge slide code had oddly named variables, added some comments and renamed vars.
...
also made BM_elem_select_set() a function (was a macro calling a function).
2012-04-25 01:24:55 +00:00
47b6b60e5a
code cleanup: no functional change - had both EDBM_editselection_* and BM_editselection_* funcs, replace EDBM_ funcs.
2012-04-24 21:19:18 +00:00
b40476455e
code cleanup: remove unused BMesh args.
2012-04-19 14:38:09 +00:00
e9358a3806
bmesh api changes:
...
- remove recently added BM_mesh_select_flush_strip(), functions purpose wasn't clear.
- add BM_mesh_elem_hflag_disable_test(), BM_mesh_elem_hflag_enable_test()
to match existing BM_mesh_elem_hflag_enable/disable_all(), these take a hflag to test before editing each element.
This replaces the need for BM_mesh_select_flush_strip().
2012-04-13 04:02:26 +00:00
8c70caf966
fix for UV reveal (wasnt selecting all verts because check for unselected vert was incorrect after selecting the first face).
2012-04-13 03:41:07 +00:00
c74ace03e0
fix [ #30907 ] Inset tool with Select Outer disabled does not allow translation of new faces
...
inset with select-inner faces gave invalid selection.
also correct spelling in some comments.
2012-04-12 07:40:47 +00:00
4253e52771
fix [ #30768 ] Project from View UV map tool includes hidden geometry r45323
...
select all could select hidden faces, now BM_mesh_elem_flag_enable/disable_all takes an argument to skip hidden elements.
2012-04-02 04:45:44 +00:00
c7aed8b2af
For BMesh functions that test flags, add enabled/disabled variants.
2012-03-30 17:30:49 +00:00
f15c15e992
bmesh py api: finished todo - editable select_history
...
eg:
bm.select_history = vert, face, edge
bm.select_history.add(edge)
2012-03-14 04:46:12 +00:00
a69585573e
bmesh python api:
...
BMesh.select_history.remove/clear/validate functions.
2012-03-13 02:59:42 +00:00
d1d11bbe9b
more header re-arranging.
...
Some function comments were in headers, some in the C files, some in both.
Moved function comments from headers into the C files.
2012-02-28 18:28:30 +00:00
df0f0c63d3
bmesh: re-arrange headers
2012-02-28 16:47:12 +00:00