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-05-09Fix error introduced by removing faces before executing bridgeCampbell Barton
Commit 86abddc9, caused an error when the face-region included boundary edges. Since removing the faces first, caused the edges along the boundaries to be removed. Add support for deleting faces and internal edges, that keeps boundaries.
2016-05-06Fix error bridging edge loops flippingCampbell Barton
Calculating the winding failed when faces exist on both sides of the edge.
2016-05-05Transform/Snap: EditMesh/BKE_bvhutils API improvementsGermano Cavalcante
Separate the creation of trees from EditMesh from the creation of trees from DerivedMesh. This was meant to simplify the API, but didn't work out so well. `bvhtree_from_mesh_*` actually is working as `bvhtree_from_derivedmesh_*`. This is inconsistent with the trees created from EditMesh. Since for create them does not use the DerivedMesh. In such cases the dm is being used only to cache the tree in the struct DerivedMesh. What is immediately released once bvhtree is being used in functions that change(tag) the DM cleaning the cache. - Use a filter function so users of SnapObjectContext can define how edit-mesh elements are handled. - Remove em_evil. - bvhtree of EditMesh is now really cached in the snap functions. - Code becomes organized and easier to maintain. This is an important patch for future improvements in snapping functions.
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-04-25Cleanup: use boolCampbell Barton
2016-04-22Transform Snap: initial snap context refactorCampbell Barton
This introduces a snap-context that can be re-used for casting rays into the scene (by operators such as walk-mode, ruler and transform code). This can be used to cache data between calls too.
2016-03-14Fix T47788: Symmetrize flips multi-res dataCampbell Barton
Symmetrize was unusable with multi-res data, add an option for the bmesh operator not to flip the multi-res depth.
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2016-03-02Fix T47610: Texture node in compositing nodes does not updateSergey Sharybin
The issue was caused by some code accessing R from a functions which are marked as safe for use from outside of render pipeline. Now those functions are safe(er) for use.
2015-12-02Cleanup: transform snap argumentsCampbell Barton
This was getting very hard to follow, - mixing input/output args. - mixing arg order between functions. - arg names (mode, snap_mode) rename to (snap_to, snap_select)
2015-12-01Fix T46900: Inset Faces Thickness & Depth Do Not Use Scene Units (i.e. ↵Bastien Montagne
Imperial). Was the case of several Mesh operators actually (and probably others, but cannot check everything). Added `RNA_def_property_float_distance` helper, avoids having to set PROP_DISTANCE subtype explicitly each time...
2015-11-25BMesh: remove double faces when triangulatingCampbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-11-18Fix mixup w/ wmOperator/BMOperator flagCampbell Barton
2015-10-04BMesh: improved smooth subdivisionCampbell Barton
Instead of offsetting along normals, smooth positions are now calculated on a sphere defined by the vertices and their normals. This removes visible seams along original edges, which were common previously.
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-03Fix T45625: Unpredictable grid fillCampbell Barton
Detect when there are < 3 corners & automatically calculating the span isn't useful.
2015-08-03Fix grid-fill offset optionCampbell Barton
Wasn't applied relative to the active vertex.
2015-07-14Fix T45348: Collapse gives sel verts in face modeCampbell Barton
2015-06-30Select flush deleting edgeloop in edge mode tooCampbell Barton
2015-06-25Select flush was missing in delete edge-loopCampbell Barton
2015-06-21Cleanup: Get rid of some ugly magic numbers...Bastien Montagne
2015-06-21Fix T45135: More cleanup of extreme max values in operator properties.Bastien Montagne
INT_/FLOAT_MAX are sometimes valid choices, but most of the time more sensible values should be used here!
2015-06-21Change defaults for planar-face toolCampbell Barton
2015-06-17BMesh: Add edge-offset option: cap-endpointCampbell Barton
Creating triangles at endpoints is often not so good, disable by default.
2015-06-15Usual minor i18n/UI messages fixes.Bastien Montagne
2015-06-15BMesh: edge-offset feature (Ctrl+Shift+R)Campbell Barton
Ability to quickly add 2x edge loops on either side of selected loops.
2015-06-11BMesh: flatten faces operatorCampbell Barton
2015-05-27Correct convex-hull for recent join-tri changesCampbell Barton
2015-05-26BMesh: join tris, split angle limit in twoCampbell Barton
Use a separate limit for face-angle and shape comparisons. There was no way to join non-rectangular, co-planer tries.
2015-05-26BMesh: join tris now delimits all UV/Color layersCampbell Barton
Previously was only checking active layers Also add delimit by edge seam
2015-05-22Fix for join faces ignoring angle limitCampbell Barton
Angle limit for join-faces was more advice then actual limit. Now joining entire selection, gives assurance that no faces above the limit will be merged. The purpose of this was to allow users to isolate 2 faces and always join them. Instead, support this by bypassing limit only when its not set and 2 faces are selected.
2015-05-21Fix T44794: Blend From Shape tool X Icon UI Bug?Bastien Montagne
Note: maybe we could even make `RNA_property_is_unlink()` always return false for enum properties? But well, guess being explicit here does not hurt...
2015-05-19Fix T44766: Connect fails /w selected ngon edgesCampbell Barton
2015-05-01Fix T44560: Merge Collapse tool - UVs operator panel option ignored with ↵Bastien Montagne
Collapse but not with other merge types. Was missing parameter for collapse bmesh operator...
2015-04-26BMesh: use inverse-square falloff /w smooth-subdivCampbell Barton
Resolves ugly artifacts with multi-cut.
2015-02-16BMesh: Connect path, use select orderCampbell Barton
Could connect a pair of verts previously, now connect all vertices along the path, running a second time closes the loop. Can also be used for without faces to connect edges between selected points.
2015-02-11cleanup: style/indentationCampbell Barton
2015-02-03UI messages: minor fixes...Bastien Montagne
2015-02-02BMesh: tool to ensure all faces are convexCampbell Barton
Access from Mesh -> Cleanup
2015-01-27Fix T43427: Particle system children sometimes not generated on reloadSergey Sharybin
The issue was caused by the conflict between preview render which would set R_NO_IMAGE_LOAD flag on the renderer and texture samplers called outside of the render pipeline trying to use this flag. Now the sampler functions accepts extra argument so render pipeline can still skip image load, but calls outside of the pipeline will nicely load all the images. Not cleanest change in the world but good enough to unlock gooseberry team, and assuming we already had pool passed all over the place it should be all fine. Will need to reshuffle arguments into SamplerOptions structure later.
2014-11-18correct uninitialized var useCampbell Barton
2014-11-16Cleanup: use SUBD_CORNER_* prefix for Subdiv flagsCampbell Barton
2014-11-05Editmesh: report a warning when fill failsCampbell Barton
also prevent assert with zero normal
2014-11-04BMesh dissolve: enable use_verts for edge dissolve (by default)Campbell Barton
2014-11-02Fix connect-vertices failing for concave ngonsCampbell Barton
Also add: - generic callback for bmesh elements. - ability to pass an existing array to a bmesh operator.
2014-10-01Smooth vertex: User request: tweak hard min/max smoothness.Bastien Montagne
Keep soft min/max to usual values, but allow artists to play with strange values if they really want it.
2014-09-29Cleanup: remove smooth_ from 'smooth_factor'Campbell Barton
redundant, just call factor as smooth modifier does.
2014-09-28Fix T25582: Add a 'smooth factor' to smooth_vertex BMesh op.Bastien Montagne
Based on code by wahooney (Keith Boshoff), patch itself was merely rewritten due to BMesh changes...
2014-09-02Fix editmesh-connect with hidden geometryCampbell Barton
- ignore hidden faces & verts - when cutting a pair, select edges co-linear to the cut. Also support creating a buffer from hidden elem's even if BMO_FLAG_RESPECT_HIDE is enabled. (if the hflag used includes BM_ELEM_HIDDEN).