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-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-15Cleanup: split GPU_batchCampbell Barton
Split out presets and utilities for creating batches. These functions are quite specialized and not related to typical usage.
2018-07-08Cleanup: rename 'ct' to 'len' for gawainCampbell Barton
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-06UI: Add extra padding to menus to draw sub-menu triangles inJulian Eisel
Shortcut strings would be offset to the left to make space for the triangles, breaking the alignment with other shortcut strings. Now this alignment is kept by making menus slightly wider if there's a sub-menu triangle visible, making room for the triangle.
2018-07-06UI: Use flat triangle drawing for indicating submenusJulian Eisel
Left the RIGHTARROW_THIN icon in, even though it's not used in C code anymore. However add-ons may do (e.g. Amaranth does).
2018-07-06UI: draw search popups with menu background, instead of box.Brecht Van Lommel
Otherwise these are not visible well with the new dark theme.
2018-07-04UI: Node Link Menu to use same colors as regular menusPablo Vazquez
Node link menus (like shader settings in Material properties) used a slightly brighter variant of the menu widget. Making it hard to style and match the rest. Make it use widget_menuiconbut, which is just the menu widget with an icon and no arrows. Thanks Brecht for the help!
2018-07-03T55441: Pop-over large arrow offset when wideCampbell Barton
2018-07-03Fix dimmed shortcut key display issues in toolbar menu and color picker.Brecht Van Lommel
Draw with alpha * 0.5 instead of using item them color, this doesn't work well in the toolbar menu and highlighted menu items otherwise.
2018-07-03UI: Dim color of shortcut label in menus and toolbarJulian Eisel
The shortcut labels now use the "Item" theme color. Its contrast for hovered items is a bit low, but not too bad. Note that this also changes the color of the little toolbar triangle to be grey (the same color we use for the keymap label). IMHO that looks better though. This doesn't update any themes other than the default one. Part of T54711.
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01Cleanup: right shift in interface codeCampbell Barton
2018-06-28Merge branch 'master' into blender2.8Campbell Barton
2018-06-28UI: use two dot ellipsesCampbell Barton
Use less space for sign used when we don't have enough.
2018-06-28GLRefactor: partially remove gl calls from source/blender/editors.Ray Molenkamp
This translates the gl calls to the new GPU_ wrappers from D3501. Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis. This fixes 13 of the 28 failing editors when building without opengl. For the list of substitutions see D3502 Reviewers: brecht Differential Revision: https://developer.blender.org/D3502
2018-06-27Theme: set default theme 'Flatty Dark Blueberry'Campbell Barton
The theme is now stored in generated C code, which can be extracted from existing user preferences. This theme can then be used for version patching themes instead of duplicating values Note that theme versioning has been removed, since minor changes from now on won't apply well on top of 2.7x theme. Theme colors from interface_widgets.c have been removed too.
2018-06-24Fix most of 'disappearing' first letter in right-aligned labels.Bastien Montagne
BLF' blf_font_width_to_strlen() could easily generate strings with up to nearly two pixels length over requested limit! Note that the fiddling between floats and ints values make things really confusing here... :/ There is still a few limit cases where, even though computed str length is now always below reauested limit, we still get first letter disappearing, no idea why currently.
2018-06-20Objects: support for hiding all objects in a collection.Brecht Van Lommel
In the outliner there are now icons for it, Ctrl+Click isolates a single collections. In the 3D view, Ctrl+H key opens a menu that is more or less the equivalent of the old layer buttons in the header. Regular Click isolates the collection, Shift+Click toggle the collection visibility. Pressing number keys and letters works in this menu, which can help for quickly selecting a specific collection. Shortcuts for quick switching by just pressing 1/2/3/.. keys are available again. The order can be confusing with nested collections, but that seems unavoidable. The first numbers control the top level collections, and then sub collections if numbers are left. Remaining design issues: * The 3D view menu needs to be improved: support for sub collections, staying open on shift+click, access from the 3D view header somewhere, shortcut key display. * Currently collection hiding just controls per-object hiding, we plan to separate this state still so alt+H doesn't affect collection hiding.
2018-06-20UI: Use chevrons for number sliders, pulldowns and popoversPablo Vazquez
In the future popovers/pulldowns should have different indicators Patch by William Reynish and Clement Foucault
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: use clamp_* from BLI_math (replace macro)Campbell Barton
2018-06-13UI: HUD now follows region themingCampbell Barton
2018-06-12UI: replace ui_draw_search_back w/ general codeCampbell Barton
Useful for drawing any kind of region-background.
2018-06-11UI: Separator spacerDalai Felinto
This support layout.separator_spacer() to be used by headers as a way to dynamically separate the ui buttons. Right now no UI file is changed, though we can use this right away in the timeline, and shortly after in the viewport header (moving settings from the topbar to it). Original design by William Reynish. Review: Campbell Barton D3468
2018-06-06Cleanup: styleCampbell Barton
2018-06-06Cleanup: USE_UI_* prefix for UI definesCampbell Barton
Otherwise there is no quick way to see where this comes from.
2018-06-06UI: use regular size icons for toolbar popupCampbell Barton
Test this since the popup feels disruptive/flashing when its too large when set smaller it looks closer to a menu w/ key-accelerators which is the intention in this case. It's also more likely the active tool can be placed under the cursor.
2018-06-01Draw background on pulldown widgets if the header is transparent.Brecht Van Lommel
Since the viewport header now supports transparency, text on pulldowns can be hard to read if their color matches the viewport content. Background is drawn using the 'inner' theme color, that was unused until now.
2018-05-27Merge branch 'master' into blender2.8Campbell Barton
2018-05-27UI: center align number buttons w/o textCampbell Barton
This makes supporting split properties and text possible, see T54951
2018-05-25Use menu back theme colors for popoverPablo Vazquez
2018-05-23Merge branch 'master' into blender2.8Campbell Barton
2018-05-23Cleanup: strip trailing space from interface filesCampbell Barton
2018-05-19UI: popover-once (click-drag for single actions)Campbell Barton
Experimental support for using popovers like menus, use this when the user hold the mouse down (previously this did nothing). This means turning frequently accessed menu items into popovers doesn't add more clicks to the existing use case.
2018-05-13UI: fix popovers not properly working with scroll arrows for long menus.Brecht Van Lommel
2018-05-13UI: show toolbar shortcutsCampbell Barton
When toobar text is expanded, show shortcuts (normally confined to menus).
2018-05-11UI: tweaks to icon defaultsCampbell Barton
Minor changes to fit w/ new icons.
2018-05-07Merge branch 'master' into blender2.8Campbell Barton
2018-05-07Cleanup: rename char/float conversion functionsCampbell Barton
- FTOCHAR -> unit_float_to_uchar_clamp - F3TOCHAR3 -> unit_float_to_uchar_clamp_v3 (swap args) - F4TOCHAR4 -> unit_float_to_uchar_clamp_v4 (swap args) - FTOUSHORT -> unit_float_to_ushort_clamp - USHORTTOUCHAR -> unit_ushort_to_uchar
2018-05-06UI: fixes for 3D viewport popovers moving / flipping on edits.Brecht Van Lommel
* Ensure popover does not change direction or location. * Open popover towards the relevant editor, like pulldown menus. * Use a bigger maximum assumed size to deal with some corner cases. * Do proper 3D viewport header refresh on shading mode changes.
2018-05-05UI: experiment to make popover buttons draw like enum menus.Brecht Van Lommel
Looks better for 3D viewport shading, but needs more tweaks to distinguish it from other button types probably.
2018-05-01Fix number sliders for the topbarDalai Felinto
2018-04-30Popover: tiny cleanupDalai Felinto
2018-04-29UI: show popover arrow directly under the buttonCampbell Barton
A visual hint but looks broken when its not pointing to the button.
2018-04-28UI: Number Slider - treat percentage as a special caseDalai Felinto
This is to address things like a percentage slider with a fixed soft mininum. For example, the render resolution ranges from 1% to 100% and it is really strange to have the slider showing nothing filled when the ui shows 1%.
2018-04-28UI: Number slider uniform fillingDalai Felinto
Now we always fill the slider with a vertical boundary. A bit hard to explain, but very easy to see the difference. I split the widget in three parts and used fragment shader discard to remove the undesired bits. That means all the widget program is doing a bit extra calculation. Reviewers: fclem Subscribers: billreynish Differential Revision: https://developer.blender.org/D3186
2018-04-28UI: Remove hardcoded 11 uniform parametersDalai Felinto
Using a define makes it easy to increase this later.
2018-04-28UI: Remove deprecated drawing codeDalai Felinto