e8872a8ea2
style cleanup: if();
2012-10-07 09:48:59 +00:00
872cc0c4c0
Kind of cleanup of "menu strings": always have a space between the entry's label and value (these strings are a nightmare to handle in RTL languages like arabic or persian, but a bit less of a nightmare this way ;) ).
2012-10-04 13:59:14 +00:00
232571c61a
code cleanup: replace macro for BLI_rect size/center with inline functions.
2012-09-15 11:48:20 +00:00
aa2d84da37
style cleanup:
...
also remove some redundant conversions int -> short -> int
2012-09-09 00:00:21 +00:00
704c5f09b5
remove makeDerivedMesh from ED_mesh_pick_face(), this was added 44256 (bmesh merge), but is pretty bad (rebuilding entire derived mesh to pick a face), tested with subsurf modifier, sintel mesh - it works ok without it.
...
Also - other select modes like border-select dont do this, so looks safe to disable.
2012-09-07 00:58:00 +00:00
aca97317af
code cleanup: move vertex and face picking functions into meshtools.c
2012-09-06 23:50:28 +00:00
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +00:00
c567cf3fab
code cleanup: WM naming conventions
2012-08-11 21:35:24 +00:00
0b5a995cfd
code cleanup: rename G.rt to G.debug_value
2012-08-08 18:21:54 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
19e1d05461
Modifications to the view3d.select() operator:
...
1. Two new boolean options have been added to the operator: "deselect"
and "toggle".
2. The previous behavior of "extend" (toggling the selection) has
been moved to the "toggle" option.
3. "extend" now only extends the selection, it never deselects.
4. "deselect" is pretty self-explanatory: it deselects (i.e. opposite
of extend).
5. The built-in keymap has been changed to use "toggle" where
"extend" was used before for this operator, to maintain the
previous behavior in the default keymap.
In short, this works towards making "extend" and "deselect" fully
consistent across all selection tools (adding to and removing from
selection, respectively), but still preserves the old behavior
as well.
(Patch reviewed by Brecht.)
2012-05-24 21:05:27 +00:00
3896ad4cbb
code cleanup: spelling
2012-05-20 21:23:26 +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
305d341ec2
code cleanup: use vector math function minmax_v3v3_v3() and other minor vector function edits.
2012-05-13 11:05:52 +00:00
1dccd4c98a
code cleanup: naming - pose/armature/image
...
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05 16:03:57 +00:00
950ed69297
code cleanup:
...
- replace inline face UV center calc.
- use const float[3] for mesh and uv functions.
- remove unused define
2012-04-28 08:29:20 +00:00
6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
475ecbb0ce
remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros had unused args in both cases).
2012-04-19 13:47:58 +00:00
75b869e428
style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER
2012-04-19 11:44:12 +00:00
320aa33e65
rename MPoly vars called mface or mf, to avoid confusion with MFace types.
2012-04-03 23:40:24 +00:00
09f29c0b70
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions
2012-03-27 04:46:52 +00:00
48f0444760
style cleanup: editors/mesh - mostly whitespace around operators
2012-03-26 02:56:48 +00:00
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
e61339a76f
code cleanup: duplicate checks and double assignments.
2012-03-08 04:38:35 +00:00
a2c182e923
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
2012-03-03 16:31:46 +00:00
6ca7d82932
code cleanup: white space, spelling & ';;' end of lines.
2012-02-25 16:04:03 +00:00
a368e6771a
- remove some unused editmesh functions.
...
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-19 22:17:30 +00:00
b6dcdb065d
code refactor, function renaming for bmesh.
...
These changes are to make the bmesh api more consistent and easier to learn, grouping similar functions which is convenient for autocomplete.
This uses similar convention to RNA.
* use face/loop/edge/vert as a prefix for functions.
* use 'elem' as a prefix too for functions that can take any type with a BMHeader.
* changed from camel case to underscore separated (like RNA).
2012-02-12 10:51:45 +00:00
91390b712a
GPL Header Cleanup
2012-02-11 04:16:17 +00:00
0adcdbc77d
Code Cleanup: comment, remove or use unused functions.
2012-02-06 09:39:47 +00:00
5c1bee7ebc
fix for weight paint face selection.
...
since removing tesselation faces we can no longer rely on me->totface & me->mface being set. now use polygons instead.
2012-02-05 03:25:13 +00:00
dab41e0499
macro for getting next/previous MPoly loops
2011-12-28 07:10:27 +00:00
c5f8669112
fix error in own recent merge
2011-12-21 00:47:59 +00:00
cc551b4189
svn merge ^/trunk/blender -r42776:42778
2011-12-20 23:17:24 +00:00
0e4f1ad43d
topo mirror and sync with minor edits made to bmesh, no functional changes
2011-12-20 23:14:29 +00:00
deb3b7e282
replace editmode topo mirror function from the one in trunk (ED_mesh_mirrtopo_init)
2011-12-20 22:01:11 +00:00
cceef0d44f
svn merge ^/trunk/blender -r42759:42761
2011-12-20 21:28:57 +00:00
b70174cb93
move topology mirror out into its own functions - needed for bmesh branch so we can use then for bmeshes own internal mirror calculations.
2011-12-20 10:05:58 +00:00
f07df7287e
manual sync with trunk - pulling in changes where the issues are not bmesh spesific
...
- some merges added lines in multiple times
- removed some NULL checks that were only in bmesh
- enable cycles by default (was disabled because it used not to work)
- make formatting match
2011-12-04 23:13:28 +00:00
eb46f6bf0d
More DM func renames, this one includes renames of the function pointer members of the DerivedMesh struct
2011-11-29 13:01:51 +00:00
2266c7fc1c
Add CD_POLYINDEX layer to reduce need for retesselations
2011-11-13 15:13:59 +00:00
b0a21add8a
replace bmesh specific macros with math functions, also some pedantic formatting edits.
2011-11-07 09:02:10 +00:00
e08c4a00d2
svn merge -r41371:41420 ^/trunk/blender
2011-11-01 02:01:09 +00:00
797d2bbd88
use_verify option to defvert_sync_mapped and defvert_sync was flipped, also minor edits to defvert_verify_index() - no functional change.
2011-10-31 06:13:20 +00:00
1a2188af41
fix [ #29090 ] Vertex paint: in mask mode, select all (hotkey "A") does not work
2011-10-31 03:55:01 +00:00
2e0d838bc9
Fix bugs to get X-Mirror editing functionality working again
2011-10-25 16:17:26 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
19b3f13a84
quiet some pedantic gcc warnigns
2011-10-17 03:06:20 +00:00
c4cb393e45
Fix vertex paint face selection
2011-10-14 09:05:20 +00:00