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
2019-01-30Cleanup: line lengthCampbell Barton
2018-12-21RNA: naming, user-preferences -> preferencesCampbell Barton
2018-12-20Cleanup: styleCampbell Barton
2018-12-17Merge branch 'master' into blender2.8Campbell Barton
2018-11-28Tool System: support for dynamic tooltipsCampbell Barton
Tools can define a function that generates the tooltip using a function, this takes the tools keymap as an argument which can be used to extract keys to include in the tip.
2018-11-27Tool System: use tools for node editorCampbell Barton
2018-11-22Tool System: Updates for keymap stored as stringCampbell Barton
2018-11-22Tool System: store keymap name in tool instead of the keymapCampbell Barton
Resetting keymaps caused them to become invalid (crashing on access).
2018-11-20Fix error generating toolbar tooltipCampbell Barton
C code needed to be updated for module move.
2018-11-20Cleanup: move toolbar keymap generation to bl_keymap_utilsCampbell Barton
The function is getting complicated, any refactoring would be best done outside of 'space_toolsystem_common'.
2018-11-20Cleanup: move bpy_extras.keyconfig_utils to own moduleCampbell Barton
bpy_extras were meant to be useful high-level helper functions for script authors to perform common operations, to avoid writing to verbose API's. bpy_extras.keymap_utils contains some specialized API calls mainly intended for Blender's own internal use. Move keymap import export to internal API.
2018-11-19Tool System: improve popup w/ modifier keysCampbell Barton
When the toolbar is accessed with modifiers (eg shift-space): - Check if we can use the key without any modifiers to set the cursor. - Pie-menu stile release event no longer checks for modifiers.
2018-11-19Fix tool-system popup and tips w/ empty keymapCampbell Barton
That this looks like an issue loading keymaps correctly, needs to be investigated.
2018-11-18Cleanup: namingCampbell Barton
2018-11-16Keymaps: left click select keymap changesBrecht Van Lommel
Both the active tools and selection are now on LMB, which leads to various conflicts. For that reason the LMB keymap now has a couple of differences compared to before. These changes do not affect the RMB keymap. * Context Menu: W -> RMB * Select Tool activate: None -> W * Set Cursor: RMB -> Shift+RMB * Loop Select: Alt+LMB -> double click LMB * Mask Feather Vertex Slide: Shift+RMB -> Ctrl+Shift+RMB * Node Select: only with LMB now, no RMB The idea behind the W key Select Tool shortcut is that various tools can't be combined with selection, unlike the RMB keymap. So this works as a quick shortcut to drop a tool and go back to selection. Tools: set Select Box tool as default, rather than Cursor. This goes along with coming LMB select keymap changes, where we want the user to be able to LMB click to select by default, rather than set the cursor. The cursor will still be directly setabble with shift+RMB.
2018-11-16Keymaps: replace select / action mouse systemBrecht Van Lommel
For Blender builtin configurations the option to choose the select mouse remains and is now also in the splash screen. It works by changing the keymap dynamically in the script, rather than using special events. The system of automatic switching of events was not flexible enough to deal with side effects that require further keymap changes, so it is now under more manual control in the script. This breaks compatibility for some scripts and exported key configurations. These can be fixed by replacing SELECTMOUSE, ACTIONMOUSE, EVT_TWEAK_S and EVT_TWEAK_A with appropriate LEFTMOUSE, RIGHTMOUSE, EVT_TWEAK_L and EVT_TWEAK_R events. Other than that, there should be no functional changes.
2018-11-15WM: use spacebar press event (not double click)Campbell Barton
Functionality) is nicer but this uses a hack to make it work, keep the code under a variable in case we want to remove.
2018-11-15Tool System: use preset keymap loading logicCampbell Barton
The data structures for tool keymaps and presets were different, use the same structure and expose function publicly.
2018-11-14Correct assert generating tool tip/keymapCampbell Barton
2018-11-13Fix tool keymaps not working properly after recent changes.Brecht Van Lommel
Not sure this is the best fix, but this should be working. Regardless it seems good to tag active tool keymaps as such.
2018-11-12Tool System: support for 'dropping' toolsCampbell Barton
While there is no support for dropping tools exactly, the cursor tool supports a keyboard oriented workflow which is often over-ridden by other tools key-maps While many tools had shortcuts there was no fast way to get back to the cursor tool. Now double-tapping space sets the cursor tool (as long as this tool doesn't have a key mapped).
2018-11-12Missed last commitCampbell Barton
2018-11-07Paint: paint.brush_select now supports gpencilCampbell Barton
Replace grease pencil specific brush select operator.
2018-11-07Paint: update shortcut detection for new logicCampbell Barton
2018-11-06Brush: split out vertex paint tool & blend modeCampbell Barton
- Vertex & weight paint now use the 'blend' setting. - Weight paint now has it's own tool setting, since weight paint doesn't deal with color - we'll likely support different tools eventually.
2018-11-05PyAPI: use keywords for ToolDef.from_fn.with_argsCampbell Barton
Enforces explicit names, allows for keywords to be forwarded to the dictionary.
2018-11-04Tool System: support passing in args to ToolDef functionsCampbell Barton
Needed since class aren't yet defined so we can't access their namespace. This avoids intermediate draw functions.
2018-10-27Tool System: pie menu style activate-on-releaseCampbell Barton
Support activate on release for the popup toolbar.
2018-10-25Tool System: support custom cursor drawingCampbell Barton
2018-10-25Cleanup: unused variablesCampbell Barton
2018-10-25UI: move 2d paint panels to topbar & toolsettingsCampbell Barton
Removed 'Tool' and 'Options' panels, both these settings are quite obscure and already available in the 'Brush' menu.
2018-10-18PyAPI: Support for custom tool registrationCampbell Barton
Added a module bpy.utils.toolsystem which only exposes ToolDef, to avoid scripts referencing bl_ui internals.
2018-10-03Keymap: expose tool keymaps in the preferencesCampbell Barton
Currently some modes share tool keymaps, we might want to disable this since it's confusing editing one thing in multiple places. However this should be resolved in the tool definitions.
2018-09-13Fix leak in tool tooltip creationCampbell Barton
2018-09-11Cleanup: unused variablesCampbell Barton
2018-09-06Fix exception w/ grease pencil brush tooltipsCampbell Barton
2018-09-04Correct toolbar tips for non sculpt modesCampbell Barton
2018-09-03Tool System: add paint brush shortcutCampbell Barton
2018-09-03Tool System: map keys bound directly to a toolsCampbell Barton
If a key is bound to activate a tool in the tool-system, add this to the popup keymap.
2018-09-03Fix toolbar popup outside the window regionCampbell Barton
2018-08-31Tool System: support tool description for tipsCampbell Barton
When the description isn't set, the operators is used instead.
2018-08-30UI: add active tool panel to tool settingsCampbell Barton
2018-08-29Tool System: hide paint options for non brush toolsCampbell Barton
2018-08-28UI: use keyword argumentsCampbell Barton
Prepare for keyword only args.
2018-08-28UI: text keyword argument to labelCampbell Barton
Prepare for keyword only args
2018-08-23Tool System: Popup toolbar keymap improvementsCampbell Barton
- Add support for key_modifiers, so grease pencil gets "D". - Assign number keys for unmapped items This means all tools get keyboard access, use number/numpad to avoid confusion with other keymap items which directly activate the tool.
2018-08-17Fix more image editor Python errors after switching workspaces.Brecht Van Lommel
2018-08-02Tool System: sync changes from changes to brushesCampbell Barton
Changing a brush now updates the tool.
2018-07-15Gizmo: update Python templatesCampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton