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-23Add missing COW updates when selection changes in paint modes.Alexander Gavrilov
2018-11-22Fix T57578: Vertex Connect crash with less than two verts selectedPhilipp Oeser
2018-11-21UI: Use primary gizmo color for loopcut edge pre-select.Pablo Vazquez
Instead of hardcoded pink.
2018-11-21Cleanup: move extrude gizmo to transform moduleCampbell Barton
Since this is no longer mesh only, move out of mesh, rename next.
2018-11-21Gizmo: initial extrude support for non mesh typesCampbell Barton
2018-11-21Fix extrude tool redoCampbell Barton
Redo operator properties weren't being set.
2018-11-20Fix T57935: Crash Alt clicking w/ poly build toolCampbell Barton
2018-11-15UI: 'Add Object' rename dimensionsCampbell Barton
D3943 by @Zachman w/ edits
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14WM: enforce descriptions being NULL or definedCampbell Barton
Without this bugs slip through that don't null check the descriptions since many were set to empty strings.
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-09Keymap: move builtin keymaps from C to PythonBrecht Van Lommel
This should be purely an implementation change, for end users there should be no functional difference. The entire key configuration is in one file with ~5000 lines of code. Mostly avoiding code duplication and preserve comments and utility functions from the C code. It's a bit long but for searching and editing it's also convenient to have it all in one file. Notes: - Actual keymap is shared by blender / blender_legacy and stored in `keymap_data/blender_default.py` This only generates JSON-like data to be passed into `keyconfig_import_from_data`, allowing other presets to load and manipulate the default keymap. - Each preset defines 'keyconfig_data' which can be shared between presets. - Some of the utility functions for generating keymap items still need to be ported over to Python. - Some keymap items can be made into loops (marked as TODO). See: D3907
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-11-07Fix 'Set and Use 3D Cursor' normal editing command.Howard Trickey
Was missing a return of OPERATOR_RUNNING_MODAL for that subcommand.
2018-11-07Multi-Objects: CURVE_OT_select_similarHabib Gahbiche
Implemented the following methods: * SIMCURHAND_TYPE * SIMCURHAND_RADIUS * SIMCURHAND_WEIGHT * SIMCURHAND_DIRECTION Limits: * DIRECTION does not support surfaces, because `BKE_nurb_bpoint_calc_normal` does not work with Nurbs of type `CU_CARDINAL`. This also didn't work prior to this patch, so we wait until surfaces are properly supported in EditMode. * Also DIRECTION should take scaling into consideration. We need our own versions of BKE_nurb_bpoint_calc_normal/bezt. * Threshold default is too large. Not sure if it's better to change the default or scale the threshold in code. Differential Revision: https://developer.blender.org/D3846 Changes from committer (Dalai Felinto): * Moved nurb_bpoint_direction_worldspace_get/bezt to functions. * Comments hinting at the mode (direction) that require scaling to be taken into account - to be addressed by patch creator in a future patch.
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-31Fix gizmo extrude adjust & normal axis w/o facesCampbell Barton
- Extruding edges/vertices on normals gave bad/strange results. - The adjust gizmo used the orientation axis instead of the last-orientation (which could get out of sync).
2018-10-24Fix error w/ poly-build clearing the edit-objectCampbell Barton
2018-10-24Fix T57366: Mesh.from_pydata invalid loose-edge stateCampbell Barton
2018-10-23Fix T57190: loopcut crash w/o overlaysCampbell Barton
2018-10-22Fix T57028: Connect Vertex not working with more than 2 selectedPhilipp Oeser
vertices rB944054fbb61e introduced a sanity check which is not needed and prevents the operator to run successfully with more than 2 selected vertices Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D3763
2018-10-19Fix T57295: Edit-mesh modes got out of syncCampbell Barton
2018-10-19Cleanup: compiler warningsCampbell Barton
2018-10-18Cleanup: move gizmo sort functions into an APICampbell Barton
2018-10-16Cleanup: namingCampbell Barton
'mp' was a reference to 'manipulator'
2018-10-12Mesh: remove derivedFinal from various placesCampbell Barton
2018-10-11Merge branch 'master' into blender2.8Campbell Barton
2018-10-05Cleanup: styleCampbell Barton
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-10-03Extrude: add normal flip to mesh.extrude_contextCampbell Barton
Was giving errors on each access.
2018-10-03Cleanup: styleCampbell Barton
2018-10-02Gizmo: scale xyz axis to 1.0Campbell Barton
The normal and xyz no longer overlap so can be the same size.
2018-10-02Gizmo: option to switch between normal/xyz widgetsCampbell Barton
2018-10-02Cleanup: split extrude gizmo into own fileCampbell Barton
2018-10-02Gizmo: move spin tool axis option into gizmo-groupCampbell Barton
Having this setting here wasn't correct (the operator ignores it).
2018-10-02WM: generalize tool property initializationCampbell Barton
Prepare for storing different kinds of properties in tools.
2018-10-02Merge branch 'master' into blender2.8Campbell Barton
2018-10-02Correct tooltipCampbell Barton
2018-10-01Object Join: use 'selected_editable_objects'Campbell Barton
Was using 'selected_editable_bases', which used to save a lookup. This is no longer the case and complicates access from Python which cant yet easily access Bases.
2018-09-28Multi-Objects: MESH_OT_sort_elementsDalai Felinto
Based on D3330 by Falk David
2018-09-28Cleanup: Remove bmo_similar.c and small renamingDalai Felinto
2018-09-28Multi-Objects: Select similar vertex: SIMVERT_VGROUPDalai Felinto
I'm storing the name of the vertex groups in a gset. This way we can select vertex groups with the same name across different objects. Also this is the last select similar mode that needs porting o/
2018-09-27Cleanup: remove unused DerivedMesh code.Sebastian Parborg
Differential Revision: https://developer.blender.org/D3736