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
2021-02-13Cleanup: spellingCampbell Barton
2020-10-19Spelling: It's Versus ItsHarley Acheson
Corrects incorrect usage of contraction for 'it is', when possessive 'its' was required. Differential Revision: https://developer.blender.org/D9250 Reviewed by Campbell Barton
2020-09-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
2020-04-13VSE: Add sample toolRichard Antalik
This tool is set as default tool, so default action on click doesn't have pernament effect. Reviewed By: campbellbarton Differential Revision: D7064
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-04-03Cleanup: Rename ScrArea variables from sa to areaJulian Eisel
Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432. Now the area and region naming conventions should be less confusing. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Cleanup: Continue renaming ARegion variables from ar to regionJulian Eisel
Continuation of b2ee1770d4c3, now non-single word variables are also renamed. Part of T74432. Also ran clang-format on affected files.
2020-03-26Fix crash accessing the tool with no active spaceCampbell Barton
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-09GPencil: Refactor of Draw Engine, Vertex Paint and all internal functionsAntonio Vazquez
This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes. Also, a huge code cleanup has been done at all levels. Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development. Differential Revision: https://developer.blender.org/D6293
2020-02-25WM: move cursor refresh tag to the windowCampbell Barton
Avoids having to check the current area is NULL.
2020-02-21Cleanup: un-indent ED_screen_set_active_regionCampbell Barton
Also remove redundant flag assignment from previous comment.
2020-02-21Fix T67805: Cursor doesn't update when switching tools via shortcutsCampbell Barton
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-01-22VSE: Tool system integrationRichard Antalik
Add toolbar to sequencer regions. A bit of refactoring has to be done in RNA space. Currently there is only cut tool implemented to serve as template for anybody who would like to add more.
2020-01-03Tool System: enable fallback tool by defaultCampbell Barton
This defaults to selection when not using a gizmo. The previous behavior to drag anywhere can be set in the tool settings or by selecting the fallback tool (Alt-W). See: T66304
2020-01-03Tool System: store the fallback tool for re-useCampbell Barton
The fallback tool was run-time only data, now it's stored in the blend file.
2019-12-12Cleanup: Fix typo in user preference codeDalai Felinto
2019-12-07Preferences: correct experimental flag useCampbell Barton
Add utilities for checking when experimental features should be used.
2019-12-06Tool System: experimental fallback tool supportCampbell Barton
Implement T66304 as an experimental option, available under the preferences "Experimental" section. - When enabled most tools in the 3D view have a gizmo. - Dragging outside the gizmo uses the 'fallback' tool. - The fallback tool can be changed or disabled in the tool options or from a pie menu (Alt-W).
2019-11-14Fix T70211: Brush keybindings failed with non-brush tool activeCampbell Barton
2019-06-28Fix message subscriber using the wrong workspaceCampbell Barton
2019-06-28Revert "Fix invalid area tool being set from message passing"Campbell Barton
This reverts commit 9ec8887599b1c14dac47cca1a073fa50b333d5ee. Causes assert when selection changes modes.
2019-06-28Fix T66200: Changing workspaces / modes doesn't update toolsCampbell Barton
Changing the workspace or mode from one window may need to change the active tool in another window since two different workspaces may share an object.
2019-06-28Fix invalid area tool being set from message passingCampbell Barton
This wasn't working with multiple windows, WM_toolsystem_do_msg_notify_tag_refresh could use a workspace from a different window to the screen that owned the area. Instead of fixing, remove these since they aren't needed anymore since changing modes now refreshes the tool system.
2019-06-28Fix error for tools that share gizmo types doubling up gizmosCampbell Barton
Introduced in recent commit c93af8529dfec
2019-06-27Cleanup: clarify WM_gizmoconfig function namingCampbell Barton
2019-06-27Tool System: don't unlink gizmos when changing toolsCampbell Barton
Needed for tools not to unlink each other with multiple windows.
2019-06-27Fix switching tools with multiple windows & gizmosCampbell Barton
The gizmo would only added if the gizmo type wasn't already linked.
2019-06-27Cleanup: error in last commitCampbell Barton
2019-06-27Cleanup: remove unused context check in toolsystem_ref_linkCampbell Barton
Also comment corrections.
2019-06-13Set Node Editor to use Box Select tool by defaultWilliam Reynish
This makes Shift and Ctrl work properly to extend and subtract selections. This also moves Cut Links to Ctrl-RMB, which doesn't conflict with the selection tool.
2019-06-11Fix gpencil weight paint mode having no active toolCampbell Barton
2019-05-20Fix T63443: tool 'builtin_brush.draw' not found for space 'IMAGE_EDITOR'Jacques Lucke
2019-05-15Tool System: avoid redundant refreshCampbell Barton
Workspaces refreshes tools multiple times when used by multiple windows. Also improve comments.
2019-05-14Fix T64339: Crash with UV sculpt after undoCampbell Barton
2019-05-02Workspace: remove global active toolCampbell Barton
This was needed for a global top-bar to show a single tool, no longer needed now the top-bar is per-space.
2019-05-01UV Sculpt: improve tool-system integrationCampbell Barton
In 2.7x UV sculpt was a kind of sub-mode (a toggle with it's own key-map & drawing code). Move this to an operator that uses the tool-system, this simplifies internal logic, especially brush selection which now matches sculpt and other paint modes. - Remove toggle used to enable uv sculpt. - Expose the brush, which was already used but there was no way to select different brushes. - Make UV sculpt use paint paint tool slots (using brushes how all other paint mode currently do). - Move UV Sculpt keymap to the tools keymap. - Remove Q to toggle UV sculpt mode, S/P/G keys to switch tools.
2019-04-20Cleanup: comment line length (windowmanager)Campbell Barton
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-15Tool System: use categories for tool identifiersCampbell Barton
Tools that come with Blender use 'builtin' or 'builtin_brush' prefix.
2019-03-15Tool System: split UI label from tool identifiersCampbell Barton
Prepare for exposing tool registration to the Python API. - Generated tools can use their own prefix so naming collisions won't happen between hard coded & generated tools. - Add-on authors can use the add-on name as a prefix. Currently the names match, renaming will happen next.
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-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
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-14Fix T56665: Assert when selecting objectCampbell Barton
Selecting object w/ a different mode missed refreshing the screen areas current tool.
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-23WM: add tool property getter functionCampbell Barton
Matches 'ensure' functions but doesn't add data.
2019-01-14Fix T60388: Warning entering text edit modeCampbell Barton