Age | Commit message (Collapse) | Author |
|
Needed so clicking anywhere performs uniform scale.
|
|
Dragging outside the view was only meant to be a temporary workaround.
|
|
See T61151
|
|
|
|
This commit groups a set of new tools that were tested in grease pencil object branch before moving to master. We decide to do all the development in a separated branch because it could break master during days or weeks before the new tools were ready to deploy.
The commit includes:
- New Cutter tool to trim strokes and help cleaning up drawings.
- New set of constraints and guides to draw different types of shapes. All the credits for this development goes to Charlie Jolly (@charlie), thanks for your help!
- Segment selection mode to select strokes between intersections.
- New operator to change strokes cap mode.
- New option to display only keyframed frames. This option is very important when fill strokes with color.
- Multiple small fixes and tweaks.
Thanks to @pepeland and @mendio for their ideas, tests, reviews and support.
Note: Still pending the final icons for Cutter in Toolbar and Segment Selection in Topbar. @billreynish could help us here?
|
|
|
|
Also support non existing keymap items which gave an error, see: T60335
|
|
|
|
|
|
Working in 2.7x, was just disabled in 2.8x.
Fixes T60256
|
|
|
|
|
|
Avoids awkward logic from the popover,
by faking an extra item in the enum.
|
|
Instead of link toggle with enum, use a single popover that contains
both settings. The code for this isn't nice - needing 3x panels for now.
See D4075
|
|
This aims to resolve a conflict where some users want to keep keyboard
axis setting global, even when the orientation is set to something else.
Move/rotate/scale can optionally each have a separate orientation.
Some UI changes will be made next.
|
|
Group them in a more logic way.
|
|
|
|
This commit adds support for new curve tool and adds more functionalities to the existing primitives, including new handles, editing, stroke thickness curve, noise, preview of the real stroke, etc.
Thanks to @charlie for his great contribution to this improvement.
|
|
Part of T59335.
|
|
|
|
Generated names include the current context mode
which is irrelevant for generic 3D view tools.
|
|
This reverts commit 1bf0a4f4d0d8c7e748f40d634aebf55eb37435ba.
This is a bug, clicks shouldn't remove rulers since it's too easy
to accidentally click instead of dragging.
|
|
It's much simpler to just click on one end, than dragging it outside of
view. ;)
Related to T59084.
|
|
This adds an elliptical arc primitive.
Press CKEY for toggling closed/open arc.
Press FKEY key for flipping arc.
Additional changes to gpencil primitives.
Increases default edges of circle to 64.
Keymap changes to allow primitives to be drawn with Shift or Alt key.
Allow Plus/Minus key to adjust number of edges.
Missing: Toolbar icon
Differential Revision: https://developer.blender.org/D4024
|
|
|
|
|
|
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.
|
|
|
|
|
|
Not sharing caused duplication in the keymap and
required a factory class generator.
Simplify tool & keymap definitions by sharing them.
It's highly unlikely we will ever want these to use different keys
once they're set as the active tool.
|
|
|
|
For users that want the 2.7 LMB keymap behavior, this provides a way of
working without tools interfering. For RMB select this operator is quite
redundant with the Cursor tool, we may have to find a solution for that.
Note that we also might later add transform tweak to the transform tools,
when nothing is selected. But this is important for existing users who
preferred the existing workflow.
|
|
These tools now support (new, add, subtract),
(xor, and) could be supported but are complicated by UV's sticky
selection modes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
This reverts commit 8ecc51e87fd0e3e9bb13622456d03d09926eab47.
This is needed for keymaps that dont include cursor placement by
default.
|
|
Rely on 3D view keymap, fixes T57843
|
|
|
|
|
|
Note that tools can still define their keymaps,
since it's useful for add-ons.
|
|
Tool properties showed options twice.
|
|
Tool properties were duplicating UI elements.
|
|
|
|
Fixes T57525
|
|
This uses shift to extend, ctrl to de-select, both to intersect.
|