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-12-033D View: remove non tool-system rulerCampbell Barton
There was duplicate code for the ruler being accessed as a tool and an operator. Remove the modal operator code in favor of tool access.
2018-11-30Remove from Local View operatorDalai Felinto
This was the old, obscure, little known, M shortcut operator when in local view back in the 2.7x days.
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-11-213D View: move x-ray toggle to operatorCampbell Barton
Allows binding to a key.
2018-11-14UI: Comment out "Clip border" operatorClément Foucault
Also Remove it from the UI as it has not been ported to 2.8 and it is a delicate thing to do.
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-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-10-02Keymap: disable alt-comma for origin only transformCampbell Barton
This is quite an obscure option only useful in rare cases, when enabled by accident it's confusing since single objects can't be transformed. Also, w/ 2.8x you don't see the option change in the header.
2018-09-26UI: switch shortcuts for pivot and orientation pie menus.Brecht Van Lommel
Pivot is now period key, orientation is comma key.
2018-09-26UI: use pie menu for snap, pivot and proportional editing.William Reynish
* Proportional pie menu at shift+O. * Snap pie menu at shift+S. * Pivot pie menu at comma. Previous comma, ctrl+comma, period and ctrl+period shortcuts for specific pivot types were removed. Ref T56881.
2018-09-21Viewport: change Z key to shading pie menu to switch mode, X-ray and overlays.Brecht Van Lommel
This lets us do the most common shading switching with one shortcut. We keep alt+Z and shift+Z for quickly toggling to lookdev and rendered mode and back, it's debatable which settings deserve a dedicated shortcut like this. The downside is that switching X-ray is a little slower, and that there is some risk of accidentally going to lookdev or rendered mode which can be slow to cancel.
2018-09-04Cleanup: remove legacy layer and dupli code.Brecht Van Lommel
2018-08-31Merge branch 'master' into blender2.8Campbell Barton
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-08-29Cleanup: rename files from group to collection to match contents.Brecht Van Lommel
2018-08-143D View boarder/lasso select tool optionsCampbell Barton
Add tool options to control how select operates (add/sub/set/and/xor). Note: edit mode armature select still needs to support all options, this is complicated by how it handles partial end-point selection.
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-11Manipulator: changes for overlay optionsCampbell Barton
There are now 3 categories in the overlay popover: - Navigation - Active (camera, lamp... etc) - Tool (manipulator) The user preference for mini axis now controls if the mini axis displays minimal or a full-interactive widget. Part of design: T55863
2018-07-10Keymap: remove Shift-B in camera viewCampbell Barton
We already have Ctrl-B for setting the border, no need for two keys to do the same thing.
2018-07-09Keymap: use Shift-AccentGrave for fly/walk modeCampbell Barton
2018-07-09Keymap: Remove AccentGrave for eachCampbell Barton
Use only F3 for search since this is a common enough key and it turns out having AccentGrave access on non US layouts is too unreliable.
2018-07-05Keymap: Make Ctrl-Tab toggles pose modeCampbell Barton
Showing a pie menu is redundant since tab is already mapped to edit mode. Bypass the menu for pose mode toggle.
2018-07-05Keymap: convenience Alt-MMB view switchingCampbell Barton
Allows to quickly set the view axis for advanced users, Requested by @hjalti
2018-07-05Viewport: tweak Z key shading toggle.Brecht Van Lommel
* Z now goes to solid mode when in lookdev or rendered mode. * Alt-Z was broken after removal of texture mode, now toggles lookdev mode. * Simplify code by turning it into a single operator.
2018-07-053D View: split view-numpad into two operatorsCampbell Barton
Naming operator based on keys it used was strange, split into view-axis and view-camera.
2018-07-04Keymap: Remove pie menu from tab-keyCampbell Barton
Based on discussion with @eyecandy & @venomgfx, we agreed that Tab drag/click, is too easy to accidentally press while moving the cursor. It's also not typical to activate the operator on release which introduces a small lag switching edit-mode. This is a shame since in some ways its a nice way to re-use the key, overall it just feels a little too unpredictable for such an important action. This commit makes the following changes. - Tab: toggles edit-mode. - Ctrl-Tab: opens pie menu. - Ctrl-AccentGrave: toggles manipulator. Note, while AccentGrave isn't always available this shortcut is not essential.
2018-07-03Keymap: Adjust animate and manipulator toggle keysCampbell Barton
Make room for Alt-A to be used for de-select. Discussed with artists in studio & @venomgfx, - Use Ctrl-Space for animation. - Use Ctrl-Tab to toggle manipulator. - Remove mirror transform binding.
2018-06-29Keymap: minimal default keymapCampbell Barton
Use 2.7x keymap preset for full keymap. Use define to allow further adjustments. See T55666.
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-20Cleanup: follow naming conventionsCampbell Barton
Using panels for presets printed warnings for classes named as menus.
2018-06-08Workbench: XFlip Matcap per 3D ViewJeroen Bakker
Note: Icons are not yet updated.
2018-06-08Keymap: continued testing/development (search key)Campbell Barton
Use Accent/Grave for search, to be more convenient than F-Keys. This sets F3 back to what it was before.
2018-06-07Keymap: continued testing/developmentCampbell Barton
After testing in the studio and extending the event system for drag events, we've agreed on adjustments to the new keymap, see: T55162 - Tab: Edit-mode toggle. - Tab + Cursor Drag: mode switching pie menu. - Accent/Grave: for 3D view pie menu. - F3: Search - 1..3, Shift-1..3: Edit mesh vertex/edge/face toggle. Other minor changes were made, however they aren't part of the design. - Ctrl-Shift-S: Image editor Save-As (was F3) - Ctrl-Alt-R: Repeat history (was F3)
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
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-29Keymap: partially implement changes from T55162Campbell Barton
- Use Tab key for search. - Number keys switch modes. - The number of the current mode can open a submode menu (currently only works for edit-mode) - Ctrl-Tab, Ctrl-Shift-Tab - cycle workspaces.
2018-05-24Merge branch 'master' into blender2.8Campbell Barton
2018-05-243D View: remove poll 3D view for copy/pasteCampbell Barton
These operators only need selected objects.
2018-05-24Workbench: in editmode the toggle xray option will be disabledJeroen Bakker
Z-Key was already taken by show hidden wires
2018-05-22Workbench: SeeThrough draw optionJeroen Bakker
Option to see through all meshes (transparency) Works for OB_SOLID and OB_TEXTURED. Does not work for V3D_SHADING_SHADOW. TODO: Fresnel effect
2018-05-18Collections and groups unificationBrecht Van Lommel
OVERVIEW * In 2.7 terminology, all layers and groups are now collection datablocks. * These collections are nestable, linkable, instanceable, overrideable, .. which opens up new ways to set up scenes and link + override data. * Viewport/render visibility and selectability are now a part of the collection and shared across all view layers and linkable. * View layers define which subset of the scene collection hierarchy is excluded for each. For many workflows one view layer can be used, these are more of an advanced feature now. OUTLINER * The outliner now has a "View Layer" display mode instead of "Collections", which can display the collections and/or objects in the view layer. * In this display mode, collections can be excluded with the right click menu. These will then be greyed out and their objects will be excluded. * To view collections not linked to any scene, the "Blender File" display mode can be used, with the new filtering option to just see Colleciton datablocks. * The outliner right click menus for collections and objects were reorganized. * Drag and drop still needs to be improved. Like before, dragging the icon or text gives different results, we'll unify this later. LINKING AND OVERRIDES * Collections can now be linked into the scene without creating an instance, with the link/append operator or from the collections view in the outliner. * Collections can get static overrides with the right click menu in the outliner, but this is rather unreliable and not clearly communicated at the moment. * We still need to improve the make override operator to turn collection instances into collections with overrides directly in the scene. PERFORMANCE * We tried to make performance not worse than before and improve it in some cases. The main thing that's still a bit slower is multiple scenes, we have to change the layer syncing to only updated affected scenes. * Collections keep a list of their parent collections for faster incremental updates in syncing and caching. * View layer bases are now in a object -> base hash to avoid quadratic time lookups internally and in API functions like visible_get(). VERSIONING * Compatibility with 2.7 files should be improved due to the new visibility controls. Of course users may not want to set up their scenes differently now to avoid having separate layers and groups. * Compatibility with 2.8 is mostly there, and was tested on Eevee demo and Hero files. There's a few things which are know to be not quite compatible, like nested layer collections inside groups. * The versioning code for 2.8 files is quite complicated, and isolated behind #ifdef so it can be removed at the end of the release cycle. KNOWN ISSUES * The G-key group operators in the 3D viewport were left mostly as is, they need to be modified still to fit better. * Same for the groups panel in the object properties. This needs to be updated still, or perhaps replaced by something better. * Collections must all have a unique name. Less restrictive namespacing is to be done later, we'll have to see how important this is as all objects within the collections must also have a unique name anyway. * Full scene copy and delete scene are exactly doing the right thing yet. Differential Revision: https://developer.blender.org/D3383 https://code.blender.org/2018/05/collections-and-groups/
2018-05-14View 3D: Use Z Key for "geometry occlusion" toggleDalai Felinto
Note: The header doesn't update until you mouse hover it.
2018-05-14Fix error moving pivotCampbell Barton
Missed updating keymap RNA paths.
2018-04-293D View: add initial view.shading and view.overlay in RNA.Brecht Van Lommel
These are mostly empty still, many properties need to be renamed and moved there.
2018-04-20UI: move manipulator to tool-systemCampbell Barton
Current manipulator now follows active tool.
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-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.