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
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
88d0918fe2
code cleanup: more consistent naming for mesh operator functions.
2012-03-23 21:25:07 +00:00
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
622ac0dd16
code cleanup:
...
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)'
also minor style edits.
2012-03-02 12:09:49 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
40c59b1a3d
minor edits to have the game engine and player building.
2012-02-19 23:36:10 +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
cf0aeddfc9
marked navmesh as BMESH_TODO, mixed mface/mpoly functions were being used for navmesh too, now editing funcs use polygons only.
2012-02-13 04:52:41 +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
8b43813b69
rename BM_ flags for BMHeader->hflag to BM_ELEM_ to be more clear that these flags apply to bmesh elements.
2012-02-12 06:24:12 +00:00
2dda20a96e
Style Edits only: use TRUE/FALSE rather then 1/0
2012-02-10 06:50:16 +00:00
051cf6abf8
Style Cleanup:
...
replace 0/1 with TRUE/FALSE define.
2012-02-07 17:42:46 +00:00
5c6ee6b523
svn merge ^/trunk/blender -r42670:42680
2011-12-17 02:41:53 +00:00
ad96dacbc5
style edit only - move parenthesis onto second line of function definition (in keeping with most of blenders code)
...
also split some long lines in own code.
2011-12-17 00:52:36 +00:00
143a654e6f
formatting and minor refactor of some bmesh functions.
...
* BM_Make_Quadtriangle --> BM_Make_Face_QuadTri_v
* BM_Make_QuadTri --> BM_Make_Face_QuadTri
2011-12-13 06:56:10 +00:00
aea95c7860
bmesh: fixed merge issues with navmesh (though I've not tested if it works yet).
...
also fixed a small crasher in bridge.
2011-11-08 00:20:50 +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
74017cb020
header cleanup and typo's
2011-10-22 01:53:35 +00:00
fa5275cdfa
- bpy.path.abspath(), added optional library argument since any paths from linked datablocks are relative to this, not the blend files path, this saves kludgy path code wherever libraries may be used.
...
- Image "Edit Externally" operator can now edit relative library images.
also minor edits to navmesh.
2011-10-11 04:09:11 +00:00
e8bcccae33
create navmesh operator would crash on non-mesh objects, add type check and report if no mesh objects are selected.
2011-10-10 22:06:07 +00:00
2de1bd7dc5
updates to navmesh
...
- 2 new navmesh operators, reset and clear navmesh data.
- rename operators to be more consistent with existing names.
- some minor edits to draw function, was getting the custom data for every index when it already had the array.
2011-10-10 07:21:42 +00:00
7306eb84f0
move NavMesh draw code out of being a modifier and into DerivedMesh drawing hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).
2011-10-09 21:11:51 +00:00
e6a9b68c79
Recast: upgrade library.
...
- Upgrade Recast library to latest portable version
- Implement recast_qsort based on FreeBSD qsort.c to have
portable thread safe quick sort for use in conversion routine.
- Better default value for the Build Navigation Mesh operator
2011-09-29 21:38:57 +00:00
cb7b7b3b9e
Silence some gcc warnings.
2011-09-27 13:33:32 +00:00
b66f219687
navmesh: code clean-up, should be no functional changes.
2011-09-27 09:09:55 +00:00
dcccf3fc1f
navmesh: solve bad level calls to edit mesh functions
...
Move navmesh operators from editors/object to editors/mesh
2011-09-27 09:09:52 +00:00