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
2020-05-28Object: new add object tool, currently for primitive typesCampbell Barton
- Interactively adding primitives with two clicks. - Scene orientation used for new objects. - Depth [view-plane, axis-plane, surface] - Origin [base, center] - Primitive types [cube, cylinder, cone, uv-sphere, ico-sphere ] - Settings for object types in the top-bar. Shortcuts: - Snapping (Ctrl). - Constrain 1:1 aspect (Shift). - Toggle center (Alt). Part of T57210 design task.
2020-05-02Outliner: Fix selection sync for various operatorsNathan Craddock
Add missing outliner selection sync tagging for various non-outliner operators. * Curve separate * Grease Pencil separate * Mesh separate * Make instances real * 3D view paste * Sequencer paste * Armature delete, dissolve, separate, duplicate, subdivide, extrude, click extrude, primitive add * Pose Group select, delete Resolves T71404
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-07Cleanup: replace BLI_make_file_string with BLI_join_dirfile where possibleCampbell Barton
Use 'BLI_join_dirfile' for joining paths that don't need to expand '//'.
2019-10-02Revert "UI: use correct singular and plural nouns in report messages"Brecht Van Lommel
Convention is to use (s) postfix for cases where there can be one or multiple, so stay consistent with that. This reverts commit 3e8276311ed17d12e8b47b4fe8e2f68c1ce8c603.
2019-10-01UI: use correct singular and plural nouns in report messagesYevgeny Makarov
Differential Revision: https://developer.blender.org/D5729
2019-04-18UI: move region toggling to propertiesCampbell Barton
Each space had separate operators, duplicating logic. Use RNA properties instead so adding the ability to toggle other region types (floating redo region for eg) doesn't need to have an extra operator per space type. It's also nicer to show a check-box for something which can be toggled.
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-03-26Cleanup: style, use braces for editor/spacesCampbell Barton
2019-03-25Cleanup: UI messages of copy/paste in 3DView.Bastien Montagne
Remove references to buffer or temp file, some other minor edits.
2019-03-25Copy/Paste: refactor to be able to paste any kind of IDs, by type.Bastien Montagne
This commit does not add anything new from user perspective, but make it possible to paste any kind of IDs, not only objects/collections. Will be used by new copy/paste in the outliner in next commit.
2019-03-21Fix clipboard copying collections when copying objects from 3DView.Bastien Montagne
This was inherited from 2.7x behavior with groups, but in 2.8 collections are also used as 2.7x layers, which turns to be a problem when pasting back clipboard content, since it would instantiate collections instead of objects, quickly leading to tens of new collections in the viewlayer... Instead, we only copy selected objects from the 3DView now. On paste time, those will be added to the active collection. Last part of fixes related to T61670.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-02-20Measure Tool: use x/del key to remove the active rulerCampbell Barton
Dragging outside the view was only meant to be a temporary workaround.
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-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-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-213D View: add back clipping border operatorCampbell Barton
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.