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
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-12-14Fix mesh select path not updating the gizmoCampbell Barton
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-09-25Edit Mesh: Move Edit Mesh display settings to overlay'sClément Foucault
This makes the Edit Mesh display settings common to all objects. They can also be set differently per viewport. Modifying extra data (seams, sharp edges etc...) will no longer set them automaticaly visible. Bumping version because we need to force set all extra draw options for older files.
2018-09-10Correct argument typeCampbell Barton
2018-09-10Edit Mesh: pass Base array to picking functionsCampbell Barton
In some cases we need to use this array afterwards, so this gives control over which objects are used for picking. Also use an index argument as return argument so callers that need to know the index in the array don't need to calculate it afterwards.
2018-09-10Cleanup: use function to set the active baseCampbell Barton
2018-08-22Improvement to MESH_OT_shortest_path_pick behaviourDalai Felinto
Select a vertex/edge/face if there was nothing previously selected (if the click hit something, of course).
2018-08-22Multi-Objects: MESH_OT_shortest_path_pickDalai Felinto
This fully works as "expected", however it seems strange when there is no selected vertex in the non-active object. In 2.7x if you join two monkeys, select a vertex in one of them and try to use this operator in the other it will select the lonely newly selected vertex. If you split both monkeys and do this in 2.8 while multi-editing them you won't get nothing when trying to ctrl+RMB any vertex in the monkey object that has nothing selected yet. I propose to have this addressed in an upcoming patch where we always select a vertex if no vertex was previously selected.
2018-08-21Fix crash in edbm_shortest_path_pick_exDalai Felinto
2018-08-13Merge branch 'master' into blender2.8Bastien Montagne
2018-08-13Fix T55745: Pick Shortest Path tool, inconsistent selection.Bastien Montagne
To get consistent, user-expected results here, we need to 'fake' starting immediately after a 'skip' block (such that we start with a full block of selected elements). Same issue affected vertices and edges selection of course, did not check the other usages of WM_operator_properties_checker_interval_test() though.
2018-05-24Multi-Object-Editing: MESH_OT_shortest_path_selectIsh Bosamiya
Note from revisor: Edit the error message to match the original one. Maniphest Tasks: T54643 Differential Revision: https://developer.blender.org/D3351
2018-04-16Depsgraph: remove EvaluationContext, pass Depsgraph instead.Brecht Van Lommel
The depsgraph was always created within a fixed evaluation context. Passing both risks the depsgraph and evaluation context not matching, and it complicates the Python API where we'd have to expose both which is not so easy to understand. This also removes the global evaluation context in main, which assumed there to be a single active scene and view layer. Differential Revision: https://developer.blender.org/D3152
2018-03-16Cleanup: doxy sections for editmesh files.Campbell Barton
2018-03-16Merge branch 'master' into blender2.8Campbell Barton
2018-02-13Object Mode: remove Scene.obeditCampbell Barton
Add ED_screen_window_find, BKE_workspace_edit_object
2017-10-19Merge branch 'master' into blender2.8Campbell Barton
2017-10-19Docs: correct descriptionsCampbell Barton
2017-08-16Pass EvaluationContext instead of bContextCampbell Barton
2.8x branch added bContext arg in many places, pass eval-context instead since its not simple to reason about what what nested functions do when they can access and change almost anything. Also use const to prevent unexpected modifications. This fixes crash loading files with shadows, since off-screen buffers use a NULL context for rendering.
2017-07-21Pass EvaluationContext argument everywhereLuca Rood
Note that some little parts of code have been dissabled because eval_ctx was not available there. This should be resolved once DerivedMesh is replaced.
2016-05-12BMesh: use active face fallback w/ select-pathCampbell Barton
From user perspective, last selected face is the same as the active face, use this as a fallback.
2016-04-01BMesh: improve path-select fill region w/ ngonsCampbell Barton
Rewrote to work with ngons and and more complex topology, now uses separate function. Fixes T48009.
2016-03-30Shortest Path Select: option to select all paths between 2 elementsCampbell Barton
This option selects all paths between source/destination which are no longer than the path found. Handy for selecting meshes with a grid-topology.
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2016-03-01Edit Mesh: Edge tag toggle when no active path is foundCampbell Barton
User request, this matches 2.6x behavior more closely.
2015-12-28Fix possible invalid-index use /w link/path selectCampbell Barton
2015-12-27BMesh Path Select: Face Stepping OptionCampbell Barton
Supports diagonal paths for verts and faces, Selects edge-rings with edges.
2015-12-27BMesh Path Select: Add checker-select optionsCampbell Barton
Allows to quickly select alternate elems in a path (matching checker-deselect options). - adds redo support to MESH_OT_shortest_path_pick, allowing for other options. - de-duplicates code between 2x path select operators. - expose 'Topology Distance' property for path picking. - remove unused 'extend' property.
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.
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-06Correct recent refactor (use generic callback)Campbell Barton
2014-11-03BMesh: arg reorderCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-19Code cleanup: unreachable break/returnCampbell Barton
2014-03-11View3d: take pixelsize into account for selection distanceCampbell Barton
2014-02-18Fix T38655: Face path select fails with edge/vert select enabled tooCampbell Barton
2013-08-23move bmesh tools into their own include,Campbell Barton
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh.
2013-06-24fix own error with updating edge tagging (seams didnt work)Campbell Barton
2013-06-24make behavior for edge tagging more predictable.Campbell Barton
last-picked edge is always selected+active.
2013-06-24add api calls for BM_mesh_active_vert/edge_get.Campbell Barton
inspecting the edit-selection inline was cumbersome.
2013-06-04correct error getting the selection from recent change.Campbell Barton
2013-06-04edit-mesh improvements to select shortest pathCampbell Barton
- Ctrl+RMB only worked for edges & faces - Menu item 'Select Shortest Path' only worked for vertices. Now Ctrl+RMB works for vertices and the menu item works for verts/edges/faces (depending on the current selection).