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-23Fix uv lasso/box multi-object select logicCampbell Barton
Was de-selecting all UV's on each iteration.
2018-11-23Tool System: uv lasso/box select optionsCampbell Barton
These tools now support (new, add, subtract), (xor, and) could be supported but are complicated by UV's sticky selection modes.
2018-11-18Keymap: move left click select to a preferenceCampbell Barton
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-10-21Cleanup: styleCampbell Barton
2018-10-19Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp
2018-10-19Fix T57284: poor result UV unwrapping concave n-gon.Brecht Van Lommel
2018-10-19UV_OT_unwrap: Error messagesDalai Felinto
Make sure a message is not reported multiple times when working with multi-objects. Like in 2.7x we may have two infos coming from the same operator. In 2.7 we could report non-uniform xor non-scaled, and subsurface. Now we can report each one of those errors separately.
2018-10-19Fix multiple-object uv selection not "deselecting" other objectsDalai Felinto
2018-10-19Image Space: make 'UV Edit' a separate modeCampbell Barton
This is needed for splitting UV into its own editor, see: T54744
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-10-04UV: support setting the cursor w/ non-cursor toolsCampbell Barton
2018-10-04UV: avoid redundant batch cache w/ UV select pick & allCampbell Barton
Only tag UV's as needing an update. Also correct notifier for region redraw.
2018-10-04Fix UV select tools not refreshingCampbell Barton
Add BKE_mesh_batch_cache_dirty_tag option for resetting UV's.
2018-10-04UV: rename circle select operatorCampbell Barton
Word order was swapped from all other operators.
2018-10-04UI: disable UV operator registerCampbell Barton
Was showing redo panel for cursor & selection operators.
2018-10-04Fix missing free w/ UV-lassoCampbell Barton
2018-10-01Edit UVs: Refactor drawing Shadow UV in Image EditorClément Foucault
Currently it's not showing the subdivided mesh (if there is a subdiv mod) and there is some sync issue if there is multiple uv image space opened. But thoses will be tackled later on. The purpose of this commit is to fix the overflow issue of IMM and speed issue.
2018-10-01Edit UVs: Refactor drawing Edit UV in Image EditorClément Foucault
NOTE: This commit only concern edit UVs and not the "shadow" mesh displayed when texture painting. This will be address in a future commit. We now cache the uv mesh in the mesh batch cache and only reupload data on changes. Update could be more granular (and a bit faster) but it's not our main concern ATM. This should fix problem caused by the IMM api used to draw large meshes. This makes performance skyrocket compared to previous implementation. There is still a big CPU bottleneck when not in sync selection mode but it is not related to the drawing function directly.
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-26UI: use pie menu for snap, pivot and proportional editing.William Reynish
* Proportional pie menu at shift+O. * Snap pie menu at shift+S. * Pivot pie menu at comma. Previous comma, ctrl+comma, period and ctrl+period shortcuts for specific pivot types were removed. Ref T56881.
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-25Fix UV edit smart stitch not redoing correctly.Alan Troth
Differential Revision: https://developer.blender.org/D3687
2018-09-19Cleanup: styleCampbell Barton
2018-09-19Correct invalid enum defaultCampbell Barton
2018-09-19UV Snap: minor uv-nearest optimizationsCampbell Barton
- Pass in the snap distance (to avoid comparisons in the multi-object version). - Loop directly over BMLoop's (without using the iterator). - Use squared distance instead of manhattan.
2018-09-18Fix T54685: EditMesh UV's transform snapping only checks active objectAlan
Reviewers: dfelinto https://developer.blender.org/D3653
2018-09-18UV_OT_align: Cleanup (use enum instead of chars for modes enumDalai Felinto
Also tested the straighten option and it is working-ish. That said, I think straighten should take all the meshes vertices to determine the line you want to use as reference. However we would need a different way to determine the first and last uvs to use as reference for the line.
2018-09-10Cleanup: fix compiler warnings.Brecht Van Lommel
2018-09-10Image/UV Editor: Remove show other optionDalai Felinto
This is no longer useful now that we have multi-object editing support.
2018-09-08Cleanup: styleCampbell Barton
2018-09-07Codestyle cleanup: uvedit_smart_stitch.cDalai Felinto
2018-09-07Multi-Objects: UV_OT_stitchAlan
Reviewers: dfelinto https://developer.blender.org/D3645
2018-09-06Multi-Objects: orthographic support for UV projectDalai Felinto
D3375 by @Al I did a few changes before the commit: * Initialize flot arrays with {0} instead of memset(foo, 0, sizeof(foo)). * Use add_v4_v4 instead of for loop. * Rename uv_map_rotation_matrix_w_offset > uv_map_rotation_matrix_ex. bjects: orthographic support for UV project
2018-09-06Multi object support for UV live unwrapCampbell Barton
D3658 by @Al
2018-09-06Cleanup: styleCampbell Barton
2018-09-06Multi-Objects: UV_OT_remove_doublesAlan
Use kdtree for doubles (old standing TODO for this operator). Small changes from reviewer (Dalai Felinto): * Code style ({ is in a new line only if it is a two-line if). * Skip objetcs loops when we know for sure nothing is selected (or all is) https://developer.blender.org/D3441
2018-09-05Multi-Objects: UV_OT_snap_selectedDalai Felinto
2018-09-05Multi-Objects: UV_OT_align and UV_OT_weldDalai Felinto
2018-09-05Cleanup: styleCampbell Barton
2018-09-04Multi-Objects: UV_OT_seams_from_islandsDalai Felinto
2018-09-04Multi-Objects: UV_OT_minimize_stretchAlan
Changes from Reviewer (Dalai Felinto): * MEM_SAFE_FREE > MEM_freeN. * Skip loop if sync selection and no face selected. https://developer.blender.org/D3415
2018-09-04Multi-Objects: UV_OT_average_islands_scaleAlan
Changes from reviewer (Dalai Felinto): * Skip loop if sync selection and no vertex selected. https://developer.blender.org/D3406
2018-09-04Multi object editing - UV_OT_mark_seamAlan
Changes from reviewer (Dalai Felinto): * MEM_SAFE_FREE > MEM_freeN. * Skip loop if sync selection and no edge selected. https://developer.blender.org/D3417
2018-09-04Multi-Objects: UV_OT_select_splitDalai Felinto
2018-09-04Multi object edit: UV_OT_select_less & UV_OT_select_moreAlan
https://developer.blender.org/D3387
2018-09-04Multi-Objects: UV_OT_circle_selectDalai Felinto
Although this was marked as done, it wasn't, I'm glad I caught it. Based entirely on the uv border select operator.
2018-09-04Multi-Objects: UV_OT_pinDalai Felinto
Also introducing a way to skip the object loop when using synced selection. I plan to use this for the upcoming operators too.