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
2018-11-27Partial fix for T57868, crash when using bevel from Python.Howard Trickey
These changes are necessary. Need to mark vertices of edges passed in geom; also the normals.out slot has a custom element type, not ELEM, so need to prevent attempt by python code to convert it to an elem. But this leaves a memory leak. I will rework code to not use normals.out slot at all, but that's a bigger fix. Now there is a crash in a different place (GPU code). Think that if using Op on its own (instead of from edbm_bevel_calc, there needs to be a dependency graph update and maybe more?
2018-11-27Revert "Fix texture space not updating in edit mode."Campbell Barton
This reverts commit 3a038db576e97c0e720a92af05a218ed71ed121a. Caused CoW crash switching from edit to sculpt mode.
2018-11-27Merge branch 'master' into blender2.8Campbell Barton
2018-11-27Fix T56872: Edge slide gives invalid normalsCampbell Barton
Add the ability to skip overwriting normals.
2018-11-26Fix texture space not updating in edit mode.mano-wii
2018-11-20Merge branch 'master' into blender2.8Bastien Montagne
2018-11-20Fix T57923: Freeze in mesh vnors computation code with some degenerated ↵Bastien Montagne
geometry. Second part of the fix: do not try at all to compute normals in degenerated geometry. Just loss of time and potential issues later with weird invalid computed values.
2018-11-20Fix T57923: Freeze in mesh vnors computation code with some degenerated ↵Bastien Montagne
geometry. Fix first part of it, the freeze itself being caused by float NAN values never comparing equal to anything, not even themselves.
2018-11-20Cleanup: use const mesh arg to BM_mesh_bm_from_meCampbell Barton
Needed for D3966
2018-11-14Fix assert in bevel modifier with certain geometry.Brecht Van Lommel
This happened in in the barbershop_interior.blend benchmark file, seems duplicate hash entries are ok for this algorithm.
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-11-10BMesh: backport minor changes from 2.8Campbell Barton
2018-11-10Cleanup: includesCampbell Barton
2018-11-10BMesh: avoid incorrect/invalid matrix calculationCampbell Barton
- `BKE_object_scale_to_mat3` was used to get the worldspace scale, without taking constraints, parenting etc into account. - Don't pass object's into BMesh API, (prefer matrices instead). - Avoid matrix invert for each edge-angle calculation. - Avoid 2x matrix multiplies when looping over edge pairs.
2018-11-09Multi-Objects: MESH_OT_select_similar worldspace completionHabib Gahbiche
This makes the operator to work 100% with worldspace similarity: * SIMFACE_PERIMETER * SIMFACE_AREA * SIMEDGE_FACE_ANGLE Note from revisor (Dalai Felinto): I'm not sure we want to pass Object * to the bmesh api, though I personally don't see why not. Either way I group the patches together so we can more easily roll them back if needs be. Maniphest Tasks: T56948 Differential Revision: D3908, D3899, D3896
2018-11-06Cleanup: rename fast-heap -> heap-simpleCampbell Barton
In general prefer API names don't start with adjectives since it causes grouping of unrelated API's for completion.
2018-11-06Cleanup: move fast heap into own source & headerCampbell Barton
2018-11-05BLI_heap: implement a limited but faster version of heap.Alexander Gavrilov
If the user only needs insertion and removal from top, there is no need to allocate and manage separate HeapNode objects: the data can be stored directly in the main tree array. This measured a 24% FPS increase on a ~50% heap-heavy workload. Reviewers: brecht Differential Revision: https://developer.blender.org/D3898
2018-11-04BLI_heap: add an API function to directly read the top node value.Alexander Gavrilov
It is very commonly needed in loop conditions to check if the items in the heap are good enough to continue.
2018-10-24Fix T57351: Deform modifiers skipped in editmodeCampbell Barton
2018-10-24Merge branch 'master' into blender2.8Campbell Barton
2018-10-24BMesh: inline index lookupsCampbell Barton
For release builds this is now the same as indexing the array directly.
2018-10-23Cleanup: rename 'dm' -> 'me' for 'Mesh' typesCampbell Barton
2018-10-23Fix bad origindex layers for editmode modifiersCampbell Barton
Reverts workaround from last commit.
2018-10-10BMesh: simple bmesh -> mesh for evaluationCampbell Barton
Copied from CDDM_from_bmesh, the modifier stack doesn't need to handle shape keys, vertex parents or selection history (needed for mode switching).
2018-10-09Merge branch 'master' into blender2.8Campbell Barton
2018-10-08Fix T57103: Subdivide smooth results in NAN vertsCampbell Barton
2018-09-28Cleanup: Remove bmo_similar.c and small renamingDalai Felinto
2018-09-26Merge branch 'master' into blender2.8Campbell Barton
2018-09-26BMesh: spin option to merge first/lastCampbell Barton
For 360d revolutions this is almost always whats intended, enable by default.
2018-09-25Merge branch 'master' into blender2.8Campbell Barton
2018-09-25BMesh: option to flip normals for extrude/spinCampbell Barton
2018-09-21Select Similar: Cleanup - WITH_FREESYTLEDalai Felinto
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-29Cleanup: use simple early exit for common caseCampbell Barton
Caused MSVC warning, may as well do simple check.
2018-08-27Implement BMesh Operator string enumerators and docs generation.Andrew Hale
Partial implementation of T56496 for review. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3635
2018-08-20Merge branch 'master' into blender2.8Campbell Barton
2018-08-20Fix BMesh edge_bisect, edge_percent being ignoredAndrew Hale
Also fix float/int/bool access methods
2018-08-14BMesh: define suptype for bevel normals.outCampbell Barton
Not doing this broke doc building.
2018-08-13Fix bevel problem for vertex-only cube corners.Howard Trickey
Was introduced by code from gsoc branch that does better job on cube corners, but shouldn't have applied to vertex-only case.
2018-08-10Cleanup: styleCampbell Barton
2018-08-09Quiet warnings in bmesh_bevel.c.Howard Trickey
2018-08-09Merge branch 'soc-2018-bevel' into blender2.8Rohan Rathi
2018-08-08Cleanup: trailing spaceCampbell Barton
2018-08-05Fix indentation, spacing and added commentsRohan Rathi
2018-08-04Added comments to functionality in main bevel codeRohan Rathi