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-06-26UI: move modal operator text from headers to status bar.Brecht Van Lommel
Python API is context.workspace.status_text_set()
2018-06-26UI: status bar cursor keymap displayCampbell Barton
Show mouse button actions in status bar, based on context, modifiers and active tool. See: T54861
2018-06-23Merge branch 'master' into blender2.8Campbell Barton
2018-06-23UI: alternate fix for empty context menuCampbell Barton
block and layout could be NULL and checking this everywhere wasn't practical. Instead of lazy initializing, add UI_popup_menu_end_or_cancel which cancels empty popup menus.
2018-06-16UI: Add property decorator buttonsCampbell Barton
When use_property_split is enabled, this template adds buttons to set keyframes, (Alternative to showing color). See: T54951
2018-06-14T55406: Flip MatcapJeroen Bakker
- Icon represent the flipped matcap in the shading menu - Added template_icon to display any icon in scale.
2018-06-13UI: remove empty space at the end of headers, tweak start/end spacing.Brecht Van Lommel
2018-06-12UI: Initial persistent floating redo panelCampbell Barton
This is the first step to moving redo out of the top-bar, see: T55039 - Support for floating panels in the ScrArea has been added. - A new region type RGN_TYPE_HUD is used for floating settings input. - Only one HUD should be visible at a time. - Currently HUD regions are only visible for 3D view and image space types. - There are currently some remaining glitches with hide/show that need further investigation.
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-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09RNA: remove Layout.introspectCampbell Barton
This was added as an experiment to extract information for docs but this was never all that useful for its intended purpose.
2018-06-09Add new GridFlow layout.Bastien Montagne
This mimics the 'spreadsheet' behavior. Columns and/or rows can have equal sizes, or adapt to their content - but always in a grid way (i.e. all items in a same column will always have same available width, and all items in a same row will always have same available height). Also, you can fill (order) the grid in a row- or column-major way. Not used anywhere for now. Differential: https://developer.blender.org/D2395
2018-06-08Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_sequencer.h source/blender/blenkernel/intern/sequencer.c source/blender/editors/curve/editcurve_paint.c source/blender/editors/gpencil/gpencil_edit.c source/blender/editors/gpencil/gpencil_paint.c source/blender/editors/gpencil/gpencil_utils.c source/blender/editors/include/ED_object.h source/blender/editors/include/ED_view3d.h source/blender/editors/interface/interface_eyedropper_depth.c source/blender/editors/render/render_opengl.c source/blender/editors/sculpt_paint/paint_image_proj.c source/blender/editors/sculpt_paint/sculpt.c source/blender/editors/space_view3d/drawobject.c source/blender/editors/space_view3d/view3d_draw.c source/blender/editors/space_view3d/view3d_edit.c source/blender/editors/space_view3d/view3d_intern.h source/blender/editors/space_view3d/view3d_select.c source/blender/editors/space_view3d/view3d_utils.c source/blender/editors/transform/transform_conversions.c source/blender/editors/transform/transform_snap.c source/blender/python/intern/gpu_offscreen.c source/blender/windowmanager/intern/wm_files.c
2018-06-08Cleanup: getting rid of G.main.Bastien Montagne
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-06UI: sub panel titles draw smaller and indented.Brecht Van Lommel
2018-06-06Cleanup: USE_UI_* prefix for UI definesCampbell Barton
Otherwise there is no quick way to see where this comes from.
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-03UI: add subpanel support.Brecht Van Lommel
In the Python API, any panel becomes a subpanel by setting bl_parent_id to the name of the parent panel. These subpanels can contain advanced or less commonly used settings.
2018-06-01Merge branch 'master' into blender2.8Campbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-28UI: Option to layout properties in two columnsCampbell Barton
Needed for proposed alternate layout, see T54951.
2018-05-25UI: support for a popup panel which stays openCampbell Barton
2018-05-25UI: Move UI_paneltype_draw into layout codeCampbell Barton
No functional changes, needed for persistent popovers.
2018-05-23UI: popup panel operator, as we have for menusCampbell Barton
2018-05-20UI: support for custom keymaps for popoversCampbell 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/Python: layout API support for setting button emboss style.Brecht Van Lommel
2018-05-13UI: show toolbar shortcutsCampbell Barton
When toobar text is expanded, show shortcuts (normally confined to menus).
2018-05-08Collections: remove per collection and view layer engine overrides.Brecht Van Lommel
This will be handled by the new view layer override system which will store data elsewhere, removing the code already for easier refactoring.
2018-05-02UI: fix operator redo showing empty popoversCampbell Barton
Many operators have no options, showing a popover button with no content isn't good.
2018-05-01UI: move object selector into 3D viewCampbell Barton
This matches the new convention for left-handed mode selectors, however we're still undecided on exactly how this should work. For now test this out as a convention for all space types.
2018-04-29UI: better support for dynamically sized regions in topbar.Brecht Van Lommel
Dynamically sized regions in the topbar were flickering due to only updating their size after redraws. Now there is an optional layout() callback for all regions in an area to do UI layout first, then refresh the region layout, and then do the actual drawing for each region. Task T54753
2018-04-28Python/UI: add more convenient API for drawing based on DPI.Brecht Van Lommel
system.ui_scale: size multiplier to use when drawing custom UI elements. system.ui_line_width: suggested line thickness and point size in pixels.
2018-04-28UI: fix popover menus not refreshing when changing settings.Brecht Van Lommel
2018-04-27UI: Set cursor to X_MOV when editing number button middle areaDalai Felinto
Reviewers: campbellbarton, brecht Differential Revision: https://developer.blender.org/D3184
2018-04-25UI: workaround for text & icon alignmentCampbell Barton
Blender's icons weren't written to draw different sizes. For now ifdef in a hack to show toolbar icons larger.
2018-04-25UI: Apply remove redo regionCampbell Barton
This was a disabled part of the top-bar merge (code by @Severin) The only change made is to move to redo UI into a popover.
2018-04-22UI: support for center popovers over buttonsCampbell Barton
2018-04-22UI: number button arrows appear on hover, highlight clickable areas.Brecht Van Lommel
2018-04-22UI: Draw round corners between the editorsDalai Felinto
This makes easier to distinguish between different editors (as oppose to an editor and its regions). Note action zones look a bit strange with this. I recommend we do next: * Make sure all 4 corners can be used as action zones. * Remove their drawing code (or show them only on mouse hover).
2018-04-22UI: Move ui_draw_anti_tria to UI_interface.hDalai Felinto
Using extern makes too easy to get a crash if the original function definition changed.
2018-04-22UI: Initial popover support for panelsCampbell Barton
- UILayout.popover(.. panel_type ..) A single panel - UILayout.popover_group(.. panel categories ..) Expands all panels matching args. Currently used in the topbar for redo and paint options.
2018-04-22Cleanup: ui-link drawing code from logic bricksCampbell Barton
2018-04-20UI: New Global Top-Bar (WIP)Julian Eisel
== Main Features/Changes for Users * Add horizontal bar at top of all non-temp windows, consisting out of two horizontal sub-bars. * Upper sub-bar contains global menus (File, Render, etc.), tabs for workspaces and scene selector. * Lower sub-bar contains object mode selector, screen-layout and render-layer selector. Later operator and/or tool settings will be placed here. * Individual sections of the topbar are individually scrollable. * Workspace tabs can be double- or ctrl-clicked for renaming and contain 'x' icon for deleting. * Top-bar should scale nicely with DPI. * The lower half of the top-bar can be hided by dragging the lower top-bar edge up. Better hiding options are planned (e.g. hide in fullscreen modes). * Info editors at the top of the window and using the full window width with be replaced by the top-bar. * In fullscreen modes, no more info editor is added on top, the top-bar replaces it. == Technical Features/Changes * Adds initial support for global areas A global area is part of the window, not part of the regular screen-layout. I've added a macro iterator to iterate over both, global and screen-layout level areas. When iterating over areas, from now on developers should always consider if they have to include global areas. * Adds a TOPBAR editor type The editor type is hidden in the UI editor type menu. * Adds a variation of the ID template to display IDs as tab buttons (template_ID_tabs in BPY) * Does various changes to RNA button creation code to improve their appearance in the horizontal top-bar. * Adds support for dynamically sized regions. That is, regions that scale automatically to the layout bounds. The code for this is currently a big hack (it's based on drawing the UI multiple times). This should definitely be improved. * Adds a template for displaying operator properties optimized for the top-bar. This will probably change a lot still and is in fact disabled in code. Since the final top-bar design depends a lot on other 2.8 designs (mainly tool-system and workspaces), we decided to not show the operator or tool settings in the top-bar for now. That means most of the lower sub-bar is empty for the time being. NOTE: Top-bar or global area data is not written to files or SDNA. They are simply added to the window when opening Blender or reading a file. This allows us doing changes to the top-bar without having to care for compatibility. == ToDo's It's a bit hard to predict all the ToDo's here are the known main ones: * Add options for the new active-tool system and for operator redo to the topbar. * Automatically hide the top-bar in fullscreen modes. * General visual polish. * Top-bar drag & drop support (WIP in temp-tab_drag_drop). * Improve dynamic regions (should also fix some layout glitches). * Make internal terminology consistent. * Enable topbar file writing once design is more advanced. * Address TODO's and XXX's in code :) Thanks @brecht for the review! And @sergey for the complaining ;) Differential Revision: D2758
2018-04-17Removing Blender Game Engine from Blender 2.8Dalai Felinto
Folders removed entirely: * //extern/recastnavigation * //intern/decklink * //intern/moto * //source/blender/editors/space_logic * //source/blenderplayer * //source/gameengine This includes DNA data and any reference to the BGE code in Blender itself. We are bumping the subversion. Pending tasks: * Tile/clamp code in image editor draw code. * Viewport drawing code (so much of this will go away because of BI removal that we can wait until then to remove this.
2018-04-06Style: Remove duplicated struct declaration.Clément Foucault
2018-04-06UI: Perf: Add batching capability to widgets.Clément Foucault
Similiar to how we batch Icons together. This is not enabled in this commit.
2018-04-05GPUBatch: Change preset managment system.Clément Foucault
Now use a list of preset batches with a function to add new ones to this list. This removes the need of new functions all over the place to reset/exit.