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-23UI: initialize drag-lock x/y axis from region typeCampbell Barton
When dragging in a vertical or horizontal region, there is no need to detect the drag axis. Gives minor usability improvement for dragging over vertical tabs.
2018-11-23UI: allow inaccurate swipe motion to switch tabsCampbell Barton
Removes the need to keep your cursor over tabs while dragging.
2018-11-22UI: activate tabs immediately on press, and drag to quickly cycle through.Brecht Van Lommel
2018-11-22UI: hide shortcut from gizmo tip when none foundCampbell Barton
2018-11-22Cleanup: Move debug warning message about panels missing category from ↵Bastien Montagne
drawing code to registering code. In drawing it was pretty stupid (since we did not know *which* panels were affected), and really, really annoyingly noisy!
2018-11-21Keymaps: take into account DPI for tweak/drag/pie thresholds.Brecht Van Lommel
The intention is to fix a too low default threshold on high DPI screen. Users with high DPI screens that have increased the threshold to fix this or liked the lower threshold will need to lower it again. This is still somewhat of a guess, ideally this would be based on the physical distance travalled, and maybe different per type of input device. However we do not have access to this information, and hope this gives a better default.
2018-11-21Cleanup: add reveal_hidden arg to jump-to API callsCampbell Barton
Jumping to data shouldn't necessarily change hidden status or visible layers.
2018-11-20Cleanup: unused args, indentationCampbell Barton
2018-11-20Cleanup: gcc function type warningCampbell Barton
2018-11-20UI: Color Ramp: Add menu and functions to distribute color stopsCharlie Jolly
Suggestion from Right-Click Select: https://blender.community/c/rightclickselect/Npcbbc/color-ramp-flags-auto-distribution-function Differential Revision: https://developer.blender.org/D3965
2018-11-20Fix error generating toolbar tooltipCampbell Barton
C code needed to be updated for module move.
2018-11-20UI: support jumping to target object/boneAlexander Gavrilov
Complex rigs are built from many bones (often overlapping) connected by constraints. When investigating or debugging such rigs one often wants to switch to the target of a constraint, or a parent bone, but it is difficult to do manually due to overlap confusion. This adds a right click menu option that automatically selects and makes the target object or bone active for UI fields where a suitable reference is readily available.
2018-11-18Keymaps: make click event use position on button press rather than release.Brecht Van Lommel
This may improve reliability with left click select and pen input, assuming that the place where the pen first touched the surface is closer to the intended location than where it was released from the surface. I'm not sure if this will make a significant difference in practice, but it seems worth a try.
2018-11-15Explicitly disable separator spacer in popover and pie menusDalai Felinto
It is doable to get it to work, you just need to process it line by line though, and get the right width of each one. Disabling it for now since it is not implemented anyways.
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-11-14Paint: remove brush select paint_modeCampbell Barton
Instead check which property has been set.
2018-11-14Merge branch 'master' into blender2.8Campbell 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-13Cleanup: use const argsCampbell Barton
2018-11-12Fix build: min and max not found.Alexander Gavrilov
2018-11-12UI: Scale control points on curve map when zoomingCharlie Jolly
Mentioned by Pablo on Blender Today : https://www.youtube.com/watch?v=67NIL5A-07c @ about 27:47 Differential Revision: https://developer.blender.org/D3902
2018-11-12Fix hidden HUD region being used - zero winrctCampbell Barton
2018-11-12UI: don't show shortcuts in toolbar buttonsCampbell Barton
Restrict these to displaying in tooltips.
2018-11-12Fix error clearing the popup toolbar keymapCampbell Barton
Generating the keymap for the tooltip stopped shortcuts from running. While this could be supported - the shortcuts show in the button, so remove shortcuts from these tips.
2018-11-12Fix headless buildCampbell Barton
2018-11-09Fix T57737: crash displaying expanded tooltip for transform toolPhilipp Oeser
Maniphest Tasks: T57737 Differential Revision: https://developer.blender.org/D3923
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-08UI: fix glitch showing the redo panelCampbell Barton
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 redraws from non-existing scrollbarsCampbell Barton
Cursor motion was often causing redraws. Distance to scrollbars that don't exist in hidden regions caused redraws (for alpha fading). Check if scrollbars are used before calculating fade.
2018-11-07Tool System: display tooltip generation errorCampbell Barton
While this shouldn't ever happen there have been reports of tooltip creation failure - keep this until the issue is resolved.
2018-11-07Merge branch 'master' into blender2.8Campbell Barton
2018-11-07Paint: paint.brush_select now supports gpencilCampbell Barton
Replace grease pencil specific brush select operator.
2018-11-07Paint: update shortcut detection for new logicCampbell Barton
2018-11-07Cleanup: naming (inconsistent paint_mode term)Campbell Barton
2018-11-06Fix broken shortcuts in F3 'operator search' menu.Bastien Montagne
From own changes in that area... Now we also enforce handling shortcuts in case relevant drawflag of searchbutton is set. Should allow to cover all cases, hopefully.
2018-11-06Cleanup: remove unused brushesCampbell Barton
2018-11-06Brush: split out vertex paint tool & blend modeCampbell Barton
- Vertex & weight paint now use the 'blend' setting. - Weight paint now has it's own tool setting, since weight paint doesn't deal with color - we'll likely support different tools eventually.
2018-11-05UI: Add back line to curve mapCampbell Barton
D3894 by @charlie with edits
2018-11-04Cleanup: style, shadow warningCampbell Barton
2018-11-03UI: Draw curve map with solid colorCharlie Jolly
Differential Revision: https://developer.blender.org/D3891
2018-11-03Cleanup: styleCampbell Barton
2018-11-03UI: Align Panel drag widget with collapse triangle.Pablo Vazquez
As pointed out by Harleya in DevTalk. Thanks!
2018-11-03UI: Fix white shadow when resetting to defaults.Pablo Vazquez
Resetting the theme to default would set the shadow brightness to 1.0f, which was used as emboss when we used dark text on brighter backgrounds. Now that we use white labels, bright shadows just makes all text fuzzy.
2018-11-02Add hide_buttons option to template_ID_previewAntonioya
When use the template in the topbar for only select an ID is very annoying to have the buttons after the name and only adds noise to the selector. This option hide the number of users, new and delete buttons to get a cleaner topbar selector. By default the parameter is disabled in order to keep all existing code/UI running.
2018-11-02Add new factor parameter to layout.separator()Antonioya
The new parameter allows to define the scale of the space.
2018-11-02Fix issues with hide/restrict icons after recent changes.Brecht Van Lommel
Set the names to match the original order again, to avoid breaking addons and various places in the code that relied on them.