Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-29Fix T48290: Hook fails after deleting geometryCampbell Barton
Now CD_SHAPEKEY_INDEX customdata is stored in edit-mode when hooks and vertex parents are used. This also fixes a bug where undo would loose key-index data. Move to structs for BM_mesh_bm_to/from_me to avoid passing many argument, which mostly aren't used.
2016-01-07Select mirror multiple axis supportCampbell Barton
Previously you could only select mirror on X axis, now support mirroring on multiple axis as well as more than one (for mesh and lattice data).
2016-01-04Fix T47038: Particles in Particle Edit Mode get added in completely wrong ↵Bastien Montagne
location. It also fixes another issue (crash) related to symmetric editing. Quite involved, we (try to!) fix complete broken logic of parts of particle code, which would use poly index as tessface one (or vice-versa). Issue most probably goes back to BMesh integration time... This patch mostly fixes particle editing mode: - Adding/removing particles when using generative modifiers (like subsurf) should now work. - Adding/removing particles with a non-tessellated mesh (i.e. one having ngons) should also mostly work. - X-axis-mirror-editing particles over ngons does not really work, not sure why currently. - All this in both 'modes' (with or without using modifier stack for particles). Tech side: - Store a deformed-only DM in particle modifier data. - Rename existing DM to make it clear it's a final one. - Use deformed-only DM's tessface2poly mapping to 'solve' poly/tessface mismatches. - Make (part of) mirror-editing code able to use a DM instead of raw mesh, so that we can mirror based on final DM when editing particles using modifier stack (mandatory, since there is no way currently to find orig tessface from an final DM tessface index). Note that this patch is not really nice and clean (current particles are beyond hope on this side anyway), it's more like some urgency bandage. Whole crap needs complete rewrite anyway, BMesh's polygons make it really hard to work with current system (and looptri would not help much here). Also, did not test everything possibly affected by those changes, so it needs some users' testing & validation too. Reviewers: psy-fi Subscribers: dfelinto, eyecandy Maniphest Tasks: T47038 Differential Revision: https://developer.blender.org/D1685
2015-11-25Fix T46867: Face-Mask hiding failed on mode switchCampbell Barton
Since GPU refactor, hidden faces are cached. However this needs to be re-calculated when state of hidden faces changes.
2015-06-25API calls for converting weights to float arrayCampbell Barton
2015-06-20Transform: UV islands were split by windingCampbell Barton
This meant front/back faces from a projection would be seen as separate islands.
2015-05-17BMesh: don't check winding for uv-vert-mapCampbell Barton
Made link-select separate front/back with projected UV's
2015-04-25CleanupCampbell Barton
2015-04-23BMesh: mesh-data picking, edge+vert improvementCampbell Barton
When zoomed out vert bias over edges meant it wasn't possible to select edges. Now pick the edge if the cursor is closer to its center.
2015-04-21BMesh: mesh-data picking, general improvementsCampbell Barton
Generalize logic for vert/edge/face selection: - index cycling. - selection bias with mixed modes. Details: - Edges now support index cycling (as verts/faces did already) - Cycling over near elements is now only enabled when the mouse position remains the same. - No longer do 2 selection passes to perform index cycling. Fixes: - Edges behind the view could be selected (surprising nobody reported!) - Selection bias now only changes the element that gets picked without interning the return distance (was buggy with mixed modes).
2015-04-20Fixes for backbuf selection logicCampbell Barton
- Fix ED_view3d_backbuf_sample_rect, r_dist was set completely wrong. - Avoid duplicate calculations picking the nearest edge. - Bias against picking selected edges is now optional. - Remove unused callback reading the backbuf. - Remove unused strict option picking vertices.
2015-04-20Fix T44383: Select face fails in some positionsCampbell Barton
When mixing vert/edge/face with select-visible, face selection could fail when not close enough to the center. This also fixes a bug where the bias for verts over edges would prefer faces over edges too, making edges harder to pick. Mixing edge with other selection modes works more predictably now.
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-13Add an option to mesh.calc_tessface() to get rid of polygons and loopsSergey Sharybin
The purpose of this change is to add extra possibility to render engines and export scripts to reduce peak memory footprint during their operation. This new argument should be used with care since it'll leave mesh in not really compatible with blender format, but it's ok to be used on temp meshes. Unfortunately, it's hard to get scene where it'll show huge benefit because in my tests with cycles peak memory is reached in MEM_printmemlist_stats(). However, in the file with sintel dragon it gives around 1gig of memory benefit after removing the polys which would allow other heavy to compute stuff such as hair (or even pointiness calculation) to not be a peak memory usage. In any case, this change is nice to have IMO, and only means more parts of scene export code should be optimized memory-wise. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1125
2014-11-19Refactor: Move part of vgroup handling code from ED_mesh/object_vgroup.c to ↵Bastien Montagne
BKE_object_deform. Along with some minor cleanup and simplifications. Reviewers: campbellbarton Subscribers: sergey Differential Revision: https://developer.blender.org/D903
2014-11-17Cleanup: Shapekey: get rid of `ED_vgroup_object_is_edit_mode()`Bastien Montagne
It was doing exactly the same thing as `BKE_object_is_in_editmode_vgroup()`, tsst...
2014-11-06Editmesh: select more/less can now step over adjacent facesCampbell Barton
This keeps a square shaped selection when using grid topology.
2014-10-31Texture Paint Add Simple UVs:Antony Riakiotakis
Add simple uvs now does a cube unwrap and pack operation. Result is not optimal by far but it should not result in crashes and it will be quite usable for simple cases.
2014-09-01Support more object types scene-scale (on creation)Campbell Barton
- lamp - camera - font - empty & effector Also fix inconsistency with apply transform (modified shape-keys for meshes but not curve/lattice)
2014-08-22Cleanup: BMesh arg nameCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-12Mesh API: rename 'octree' to 'spatial' since internally its using kdtreeCampbell Barton
2014-03-12Mesh API: replace octree mirror with kdtreeCampbell Barton
2014-02-04Code cleanup: declarations for removed functionsCampbell Barton
2013-12-17'Transform' Python Function for armature, curve and lattice.Campbell Barton
patch by Paolo Acampora with some edits.
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-10-11use BLI_bitmap for editmesh selection buffer to save some memory.Campbell Barton
2013-09-17fix [#36246] Weight tools do not mirror properly in vertex selection mask mode.Campbell Barton
Weight mirror is now supported by invert/clean/levels/blend.
2013-09-17minor renaming (adding related functions in future commits).Campbell Barton
2013-07-22transform was flushing the selection (inline), now skip this and use the ↵Campbell Barton
selection as-is. flush the selection on entering editmode instead (since the selection mode can be changed with another mesh). is other tools leave the selection incorrectly flushed, those will need to be fixed so transform works as expected.
2013-07-10draw loopcut display on the deformed mesh when in editmode.Campbell Barton
2013-07-05Added generic function to Sync pose bone with active vgroup. For use in ↵Gaia Clary
Weight Paint and Vertex Paint
2013-07-03fix [#35975] "Select Linked" = "Select All" in Weight Paint mode?Campbell Barton
looks like this was broken since bmesh merge.
2013-07-02fix [#35939] [Edit - Vertex mode] [Select]-[Mirror] did not returns right ↵Campbell Barton
result.
2013-06-28Fix #35551: the topology mirror setting affected shape key and vertex group butBrecht Van Lommel
this was confusing as there was no setting visible for it. Now these menus contain an entry to mirror without and with topology mirror.
2013-06-24de-duplicate ED_mesh_active_dvert_* functions.Campbell Barton
not to devs - please don't just copy static functions around, make them api calls and add to headers.
2013-06-23Added polished Vertex Weights Panel (properties sidebar)Gaia Clary
2013-06-20add axis option to EDBM_verts_mirror_cache_beginCampbell Barton
2013-06-19internal editmesh api: add an extended version of ↵Campbell Barton
EDBM_verts_mirror_cache_begin which takes arguments to give some more control.
2013-06-16fix automerge + mirror, previously only the selected verts would auto-merge.Campbell Barton
2013-06-05changes to mirror toolsCampbell Barton
- give feedback on how many mirror verts succeed/fail (for select mirror, shape key mirror, weight mirror) ... when a mirror failed it was confusing and not obvious what was going on. - slight change to select mirror, now center vertices will remain selected. - speedup to EDBM_verts_mirror_cache_begin, cache customdata layer offset.
2013-05-28code cleanup: lots of calls to BKE_mesh_calc_normals_mapping were not using ↵Campbell Barton
the mapping functionality. replace ED_mesh_calc_normals with BKE_mesh_calc_normals().
2013-05-16workaround for loopselect-slide (with multicut enabled) changing from ↵Campbell Barton
vertex-select to edge-select. this is needed to slide, but wasn't so nice for users, now restore the original mode.
2013-04-17display options to help with 3d printing.Campbell Barton
editmesh debug info, - overhang (with axis angle options) - wall thickness (with min/max distance) - self-intersections. access below 'Mesh Display' panel.
2013-04-16move editmesh_bvh.c into blenkernel.Campbell Barton
2013-04-05code cleanup: use bool's for vgroup and editmode.Campbell Barton
2013-04-03code cleanup: unused functionsCampbell Barton
2013-04-01code cleanup: split editmesh_tools.c, into inset, bevel (both modal ↵Campbell Barton
operators) and moved extrude operators into their own file. also move some selection operators from editmesh_tools.c into editmesh_select.c
2013-03-22python api: add functionality to remove uv-texture layers.Campbell Barton