8baa5fbde2
- fix for python freeing its own bmesh clearing the global mirror cache.
...
- fix for own mistake (Ctrl+T didnt set beauty peroperty).
- remove bad level includes in bmesh.
2012-04-23 04:24:11 +00:00
b51590d55d
code cleanup: bmesh subdivide code - BM_mesh_esubdivideflag() & "esubd" bmesh operator was passing a flag about in a fairly confusing way.
...
since we will eventually have python bmesh operator access better expose this as multiple booleans.
remove remaining editbutflag's
2012-04-23 03:43:02 +00:00
4c4389f6a4
code cleanup: remove editbutflag flag from toolsettings & related defines.
2012-04-23 02:48:05 +00:00
b40476455e
code cleanup: remove unused BMesh args.
2012-04-19 14:38:09 +00:00
20e2330434
added Mesh.calc_tessface(), needed to update mesh tessface after bmesh edits.
...
also add py api BMDeformVert.clear()
2012-03-29 13:44:30 +00:00
42076f0a1f
skip using bmesh operators for converting to/from undo meshes (gives some speedup)
2012-03-29 01:41:56 +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
ca05219f3e
fix [ #30651 ] bpy.ops.object.mode_set(...) editmode removes faces.
...
problem was that BMesh had tessellation call when undo pushes were called.
if python called an operator with no undo push, tessfaces would not be created.
fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph.
added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.
2012-03-27 00:01:35 +00:00
c9c66720c8
disallow adding tessfaces to a mesh with polygons (only allowed case is creating a new mesh with tessfaces and later converting to polygons, which wont work if polygons exist)
2012-03-26 04:32:04 +00:00
44010fb659
fix [ #30657 ] New UV layers created with Mesh.uv_textures.new reset previous ones.
...
adding UV's from python was resetting the active UV layer but not setting the new layer to active, resetting existing UV's.
2012-03-26 02:39:05 +00:00
888cc0d7ac
code cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c
...
remove bmesh_selecthistory.c, only wrapped a few functions.
2012-03-23 23:41:33 +00:00
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +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
63f5b96fe3
mesh.update() now has option to calculate tessellation faces.
2012-03-02 14:46:14 +00:00
7cc206ddca
Code Cleanup: remove non existing function declarations.
...
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
2012-02-29 15:00:37 +00:00
7536bcbe70
Code Cleanup: bmesh
...
* remove unneeded struct's from headers.
* give argument names for return ** pointers r_ prefix.
2012-02-28 07:42:48 +00:00
e17bf02c2d
Code Cleanup:
...
* made bmesh_structure.h function names more consistant.
* remove unused code in bmesh_structure.c
* removed 'Edge Flip' operator (missing from bmesh but looked into trunk feature and dont think its worth keeping).
* tagged some BMESH_TODO's
2012-02-27 13:47:53 +00:00
0fd176e03d
moved select interior faces into a C function (was python)
2012-02-19 20:27:30 +00:00
eee22fe2f6
rebane files to match trunk.
2012-02-19 16:54:53 +00:00
588b26f18b
more syncing smaller changes with trunk
2012-02-17 21:32:30 +00:00
48006292d8
svn merge ^/trunk/blender -r44189:44204
2012-02-17 20:56:25 +00:00
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
5b2ea6f8a4
remove bm_get_cd_float, use CustomData_bmesh_get instead, this function only casts to a float, and doesnt simplify args.
2012-02-12 18:49:56 +00:00
37ff2a291f
BMesh api function naming.
...
`_set` suffix was used in two ways (confusing)
* to set a flag to be enabled.
* to set a value passed as an argument.
now use enable/disable rather then set/clear for functions which change flags.
also remove BME_weld.c, the file didnt contain much code and the current extrude works well
2012-02-12 18:43:59 +00:00
025b10f7f2
correct bad level include.
2012-02-11 10:56:07 +00:00
3453ec8fae
reviewed selection flushing code, some of this was incorrect, checked all uses against trunk.
...
loop select also was incorrectly calling EDBM_select_flush() rather then EDBM_store_selection(), tsk tsk. (and strange nobody noticed this).
2012-02-10 06:16:21 +00:00
d7b8e7e9bc
Code Cleanup: use less confusing names for selection flushing.
2012-02-10 03:03:42 +00:00
7f797d9c83
fix [ #30103 ] Select vertex groups works only in vertex select mode
...
add selection flushing matching whats in trunk.
2012-02-08 14:29:14 +00:00
0adcdbc77d
Code Cleanup: comment, remove or use unused functions.
2012-02-06 09:39:47 +00:00
c8037fb56a
svn merge ^/trunk/blender -r43530:43554
2012-01-20 12:34:00 +00:00
62ac943e31
- Added functions to remove mesh vertices, edges and faces. These functions remove a specified number of elements from the end of their respective arrays. For example, removing two vertices removes the last two vertices of the mesh.
...
- Minor fixes to descriptions of add edge and add face functions.
2012-01-20 02:10:09 +00:00
0f28c1c27a
svn merge ^/trunk/blender -r43461:43472
2012-01-17 21:08:25 +00:00
a8081c1d2b
Uv Tools branch GSOC 2011
...
=========================
Documentation: http://wiki.blender.org/index.php/User:Psy-Fi/UV_Tools
Major features include:
*16 bit image support in viewport
*Subsurf aware unwrapping
*Smart Stitch(snap/rotate islands, preview, middlepoint/endpoint stitching)
*Seams from islands tool (marks seams and sharp, depending on settings)
*Uv Sculpting(Grab/Pinch/Rotate)
All tools are complete apart from stitching that is considered stable but with an extra edge mode under development(will be in soc-2011-onion-uv-tools).
2012-01-17 16:31:13 +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
e5b1f9c28d
svn merge ^/trunk/blender -r42660:42669
2011-12-16 23:26:29 +00:00
d39adcb478
minor cleanup to mirror code
...
- MirrTopoPair.hash was 'long' when only needed to be 'int'
- use 'intptr_t' rather than 'long' when the value is cast back to a pointer.
2011-12-16 07:27:56 +00:00
74c6c91ba6
svn merge ^/trunk/blender -r42080:42095
2011-11-23 17:14:27 +00:00
85497e35d0
Added method clear to most of collections which supports new/remove.
...
This method not added to animation-specific structures yet/
2011-11-23 16:12:11 +00:00
1038c76c55
Add access to UVs from python, patch python unwrap scripts to work wtih ngons
2011-11-17 05:03:07 +00:00
92d35b74e7
svn merge -r41722:41723 ^/trunk/blender
2011-11-11 06:25:45 +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
2ed6f077b3
Merge with trunk r41545
2011-11-05 08:04:49 +00:00
85e0609c54
use char for BMHeader type and flag (saves 2 bytes per edge/loop/vertex/face)
...
also found mouse_mesh_shortest_path was casting edit selecton to the wrong type.
2011-11-01 14:36:23 +00:00
9aa901cccc
svn merge -r41422:41431 ^/trunk/blender
2011-11-01 09:05:38 +00:00
2ad80bf3bb
vertex group mirror
...
- now works in vertex select + weight paint mode.
- added option not to mirror all vertex groups.
2011-11-01 08:11:55 +00:00
b6e445a61f
BMesh todo - mirror vertex groups back.
2011-11-01 05:43:35 +00:00
46ae692710
Merge with trunk r41342
2011-10-28 17:00:53 +00:00