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-02Merge branch 'blender2.8' into temp-tab_drag_droptemp-tab_drag_dropSeverin
2018-07-02Cleanup: Refactor button-group codeSeverin
* Split generic button-group code from specific application * Move button-group API to interface.c. * Avoid struct abuse by using wrapper structs * Naming, comments, etc.
2018-07-02UI: update mouse icons in status bar.Brecht Van Lommel
2018-07-02Fix error in reordering after new items were added.Severin
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01Cleanup: right shift in interface codeCampbell Barton
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-30Merge branch 'blender2.8' into temp-tab_drag_dropSeverin
2018-06-30Merge branch 'master' into blender2.8Campbell Barton
2018-06-30Cleanup: remove unused context arg to menuCampbell Barton
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29WM: Remove Screen CastCampbell Barton
This feature is better handled by specialized tools.
2018-06-28UI: keep statusbar keymap icons in same position, if there is enough space.Brecht Van Lommel
2018-06-27UI: tweak status bar layout to make it less jumpy.Brecht Van Lommel
Keymap on the left, messages and jobs in the middle, stats on the right.
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-25UI: Use background color for reportsPablo Vazquez
At the moment it's using a hardcoded gray color that conflicts with themes using gray for the header text. Instead use a slightly brighter background color to make it stand, yet still use a theme setting.
2018-06-21Modifiers: Stop using md->scene in isDisabled() callbackSergey Sharybin
This is first commit in series of changes to get rid of md->scene.
2018-06-20Objects: restore H key per object hiding.Brecht Van Lommel
H hides selected objects, Shift+H hides unselected objects, and Alt+H reveals hidden objects. This hiding state is distinct from restrict viewport and render, and meant for temporarily hiding objects without affecting more persistent collection hiding. Object hiding is per view-layer, same as selection. It affects the viewport and any preview renders in there, but not final renders. In the outliner, different icons are now used for temporary hiding, and restrict viewport and render. Hidden objects are greyed out. Remaining design issues: * For lamps we probably still want to keep their effect on the scene, currently they are fully disabled by hiding. Arguably mesh lights or even objects being reflected or casting shadows are not that different but perhaps the special lamp exception from local view should remain. * We need a feature still to disabled this hiding for specific viewports, for render or animation preview where you want to see the entire scene while working in another view. * We need a new icon for restrict viewport, for now it uses a grid similar to the 2.4 icon. * Hiding objects does not preserve selection state as it did in 2.7, it's probably convenient to support this again?
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-13Tag object/scene for selection update from operatorsSergey Sharybin
Before that depsgraph tagging was done from inside notifier listener in viewport. This had the following issues: - If there are no viewports, selection tag was not done. Causing possible issues when object becomes visible. - Required special trickery to detect which data to tag for update. - Was causing crash when transforming/selecting markers in clip editor. This is because selecting marker needed to poke viewport to redraw, since selected bundles will be displayed differently in viewport.
2018-06-13UI: redo panel layout tweaksCampbell Barton
- Don't use compact layout (enum titles were hidden). - Split-properties to use less vertical space. - Make panel wider, half width when collapsed.
2018-06-12Cleanup: warning, spacesCampbell Barton
2018-06-12UI: non editable template_icon_views are rendered as labelJeroen Bakker
This is also a way to render an large preview icon without the selection control. This is used by the studiolights in the userprefs that only displays the preview of the light.
2018-06-07Fix T55348: Renaming a marker can't cancelCampbell Barton
Regression in a14005c070a1f
2018-05-23Merge branch 'master' into blender2.8Campbell Barton
2018-05-23Cleanup: strip trailing space from interface filesCampbell Barton
2018-05-12Merge branch 'topbar' into temp-tab_drag_dropJulian Eisel
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-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-02UI: fix operator redo showing empty popoversCampbell Barton
Many operators have no options, showing a popover button with no content isn't good.
2018-04-25UI: disable advanced option for redo popoverCampbell Barton
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-21Topbar: visual tweaksBrecht Van Lommel
* Make bottom half of topbar a bit higher * Make tabs higher and put them closer together * Remove screen layouts dropdown, we'll have one layout per window * Hide action zones from topbar * Don't change topbar background color when activating
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-16Initial working drag & drop for workspace tabsJulian Eisel
Had to do quite some changes to get this to work, mainly because we'd want to have the customized order written to files. Also wanted to use existing wmDrag and wmDropBox code but modify it for our needs. And of course, this should not just work for a single case, code should be applicable to other areas as well. Note that file read/write is not working (yet), neither is versioning, region copying and deleting workspaces working. Code is also very WIP, much of it is placed in temporary places and such. Once the basics are done, we can add nicer feeback during drag & drop.
2018-04-08Merge branch 'blender2.8' into topbarJulian Eisel
2018-04-05Remove workspace object mode, reverts changes w/ 2.8Campbell Barton
This caused too many problems syncing object modes with multiple objects/windows/workspaces, see: D3130 for details.
2018-04-02Merge branch 'master' into blender2.8Campbell Barton
2018-04-02Cleanup: move undo into it's own directoryCampbell Barton
Split out undo API from ED_util.h into ED_undo.h
2018-03-19Merge branch 'blender2.8' into topbarJulian Eisel
2018-03-09Cleanup: iterator macrosCampbell Barton
- put render iterator in own scope (would shadow it's own variable if used multiple times). - enforce semicolon at end of iterator macros. - no need to typedef one-off macro structs.
2018-03-01Cleanup: macro's w/ an _END need a matching _BEGINCampbell Barton
Convention from 2.7x, since some looping macros don't need an '_END', it avoids confusion to keep this.
2018-02-21Merge branch 'blender2.8' into topbarJulian Eisel
2018-02-07Merge branch 'master' into blender2.8Campbell Barton
2018-02-07Cleanup: add _types.h suffix to DNA headersCampbell Barton
2018-02-06Object Mode: use eval_ctx for context/screen codeCampbell Barton