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-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-22UI: use same light icon for all light types in properties editor tabs.Joep Peters
Differential Revision: https://developer.blender.org/D4237
2019-01-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-12-14GP: Rename CTX and OB modesAntonioya
Part of T59335.
2018-12-14Preferences: add option for header positionCampbell Barton
Sets the header position for newly created windows with few exceptions (preferences is always bottom, file-selector is always top).
2018-12-07WM: alternate fix for T58904Campbell Barton
Use messages instead of notifiers.
2018-12-07Revert "Fix T58904: Side tabs disappear when creating new View Layer"Campbell Barton
This reverts commit 892a104d2cc322cb042a687050dcce2403a971f3.
2018-12-07Fix T58904: Side tabs disappear when creating new View LayerDalai Felinto
Using listener here, although I suspect we should be using message subscriber only. That said, this mimics the behaviour of the buttons main region. As for the original bug report what was happening was that when switching between viewlayers (or when creating one) we may not get the same active object. So the context breadcrumbs are different. And the bug itself was that we were missing a redraw on view layer change.
2018-11-19UI: hide scene / layer in properties context in some cases, for compactness.Brecht Van Lommel
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 T57390: properties editor crash creating new scene in some cases.Brecht Van Lommel
2018-11-07UI: Move pin icon to the right in the context breadcrumbs.Pablo Vazquez
Leaves more room for the actual breadcrumbs path, and it's less intrusive. Thanks Luciano for the suggestion!
2018-11-02UI: add render output tab to properties editorBrecht Van Lommel
2018-10-31UI: Right-click menu entry to flip properties Tab Bar left/rightJulian Eisel
2018-10-31UI: Don't show scrollbar in Properties tab-barJulian Eisel
Addresses feedback from D3840.
2018-10-30UI: Support using Ctrl+Scrollwheel to cycle properties editor tabsJulian Eisel
Small side effect is that area operators (toggle fullscreen/maximized, duplicate area) are now displayed in RMB-menu. Makes sense anyway.
2018-10-30UI: Move Properties editor context path into headerJulian Eisel
This will probably be a temporary solution to fill empty space, for until we have a search button there. Hence, I made this optional using a compile flag.
2018-10-29UI: Vertical Properties Editor TabsJulian Eisel
Moves the Properties editor context switching to a vertical tabs region. Design Task: T54951 Differential Revison: D3840 The tabs are regular widgets, unlike the 'old' toolshelf tabs. This means they give mouse hover feedback, have tooltips, support the right-click menu, etc. Also, when vertical screen space gets tight, the tabs can be scrolled, they don't shrink like the toolshelf ones. The tab region is slightly larger than the header. The tabs are scaled up accordingly. This makes them nicely readable. The header is quite empty now. As shown in T54951, we wanted to have a search button there. This should be added next. Implementation Notes: * Added a new region type, RGN_TYPE_NAVIGATION. * Having the tabs in a separate region allows scrolling of the tab-bar, unlike the toolshelf tabs. We might want to remove the scrollbars though. * Added a new region flag RGN_FLAG_PREFSIZE_OR_HIDDEN, to ensure the tab region is either hidden or has a fixed size. * Added some additional flags to support fine-tuning the layout in panel and layout code. * Bumps subversion.
2018-10-29GP: Remove unneeded code to get iconAntonioya
Test the object type is not good idea here.
2018-10-25UI: move 2d paint panels to topbar & toolsettingsCampbell Barton
Removed 'Tool' and 'Options' panels, both these settings are quite obscure and already available in the 'Brush' menu.
2018-10-08UI: new icon set by Andrzej Ambroz.Brecht Van Lommel
This is a monochrome icon set, with a more modern look and icons for various features that did not have a proper icon before.
2018-10-08Fix tool panel not refreshing when updating colorDalai Felinto
2018-10-05UI: show uv sculpt options in topbar & toolsettingsCampbell Barton
2018-09-20UI: add support for defining any icon as a mono icon.Brecht Van Lommel
Previously it was hardcoded to one row. These icons are colored with the text color. Changes include some refactoring.
2018-09-02Fix part of T56654: Freestyle hiding viewlayer buttons when there is no lineset.Bastien Montagne
Buttons' context 'path' has to bee handled carefully, especially when building more than one step in a single call...
2018-08-31Merge branch 'master' into blender2.8Campbell Barton
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-08-30UI: remove context path from tool settings tab in properties editor.Brecht Van Lommel
2018-08-30UI: move workspace panels to tool settingsCampbell Barton
While this isn't the most logical place, there are very few workspace options and they don't need to be in such a prominent location.
2018-08-30UI: add active tool panel to tool settingsCampbell Barton
2018-08-29Cleanup: rename files from group to collection to match contents.Brecht Van Lommel
2018-08-02UI: show all particle brush settings in topbarCampbell Barton
Also show particle brush in tool-properties panel.
2018-07-31Cleanup: style, duplicate includesCampbell Barton
2018-07-31New Grease Pencil object for 2D animationAntonioya
This commit merge the full development done in greasepencil-object branch and include mainly the following features. - New grease pencil object. - New drawing engine. - New grease pencil modes Draw/Sculpt/Edit and Weight Paint. - New brushes for grease pencil. - New modifiers for grease pencil. - New shaders FX. - New material system (replace old palettes and colors). - Split of annotations (old grease pencil) and new grease pencil object. - UI adapted to blender 2.8. You can get more info here: https://code.blender.org/2017/12/drawing-2d-animation-in-blender-2-8/ https://code.blender.org/2018/07/grease-pencil-status-update/ This is the result of nearly two years of development and I want thanks firstly the other members of the grease pencil team: Daniel M. Lara, Matias Mendiola and Joshua Leung for their support, ideas and to keep working in the project all the time, without them this project had been impossible. Also, I want thanks other Blender developers for their help, advices and to be there always to help me, and specially to Clément Foucault, Dalai Felinto, Pablo Vázquez and Campbell Barton.
2018-07-06UI/Python: rename Lamps to Lights, to follow more standard terminology.Brecht Van Lommel
Internally it's still mostly named lamps, though some modules like Cycles were already calling them lights.
2018-07-06UI: small layout fixes for RMB context menus.Brecht Van Lommel
2018-07-06UI: disable broken horizontal properties editor alignment.Brecht Van Lommel
2018-07-06Fix crash with properties editor pinning.Brecht Van Lommel
2018-07-05UI: add separators in properties editor header tabs.Brecht Van Lommel
2018-07-04Workspaces: store view layer per main window, instead of per workspace.Brecht Van Lommel
It was a bit odd that the scene was stored per window but not the view layer. The reasoning was that you would use different view layers for different tasks. This is still possible, but it's more predictable to switch them both explicitly, and with child window support manually syncing the view layers between multiple windows is no longer needed as often.
2018-07-04Cleanup: pass window to listeners, instead of screen + workspace.Brecht Van Lommel
2018-07-03UI: add tool properties contextsCampbell Barton
Currently unused, create for add-ons to populate.
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-27UI: some renaming for more clear/consistent cursor keymaps in status bar.Brecht Van Lommel
There's much more work to be done here, this is just fixing some obvious ones.
2018-06-11Cleanup: add simplified panel callbacksCampbell Barton
2018-06-11WM: use layout/draw callbacks for buttons spaceCampbell Barton