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-08-15Fix T68705: Changing any editor to the properties crashes BlenderDalai Felinto
Issue introduced (more like exposed) in b7f86ff72273.
2019-06-14Outliner - Notify on GP Layer ChangeHarley Acheson
This adds NA_SELECTED to notifier when selecting Grease Pencil layers so Properties Editor will update Differential Revision: https://developer.blender.org/D5073 Reviewed by Dalai Felinto
2019-06-11Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.Bastien Montagne
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).
2019-05-10UI: expose tool settings in the 3D view side-barCampbell Barton
Internally tool settings have been moved to the 3D view. Added the ability for to draw panels from another space/region so they can be mirrored in the properties editor.
2019-05-10Cleanup: use more explicit check for buttons contextCampbell Barton
2019-05-09Fix: Nav_bar context menu in preferencesCampbell Barton
Also merge the keymaps for header/footer/navbar. D4736 by @Gvgeo with edits
2019-05-04Fix T64102: Can't add X-Mirror to quick favoritesCampbell Barton
2019-05-01UI: move image paint panels into the image side-barCampbell Barton
- Move painting brush panels into the image side-bar. - Add active tool panel to the image side-bar.
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
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-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-03-26Cleanup: style, use braces for editor/spacesCampbell Barton
2019-03-19Cleanup: use enum for CTX_data_mode_enumCampbell Barton
Exposes errors in some cases when compared against incompatible values.
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-07Properties Editor: Grease Pencil and pinning fixesDalai Felinto
The UI was trying to use screen_context.c for its poll and draw functions. So the active object and active object data and active layer was used in the UI, instead of the context one. Besides, for the material, the wrong context path was used altogether when the active object was a greasepencil. This would lead to all sort of pinning problems: * A Mesh panel is pinned, but the active object is a grease pencil, the grease pencil panels would show. * If a Grease Pencil (data) panel is pinned, but the active object is not the one pinned, nothing would show. * Material panels and pinning were totally broken, showing the material context for pinned mesh data panels even. I also sanitized the name of the panels, their inheritance and poll functions. Reviewers: antoniov, brecht Subscribers: billrey Differential Revision: https://developer.blender.org/D4470
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
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-16DNA: rename SpaceButs -> SpacePropertiesCampbell Barton
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-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
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-31Cleanup: style, unused variableCampbell Barton
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...