Age | Commit message (Collapse) | Author |
|
Note: functions like select all are still not respecting that.
I will fix this as part of the local view commit though.
|
|
|
|
|
|
snap to meshes in edit mode.
Before a value for bound box was stored in a local cache.
|
|
Use `BKE_curve_texspace_get` instead `BKE_curve_boundbox_get`.
The snap to curve, even out of edit mode, is not done on the displist. So test a boundbox that covers the points seens in edit mode.
|
|
Now only show an arrow when extrude was constrained on an axis.
|
|
Avoid setting all operator options every redraw,
instead set them before invoking.
|
|
This was done for the normal gizmo, but not the XYZ handles.
|
|
|
|
Mistake in recent commit.
|
|
For bones it's useful to extrude a bone aligned to the existing bone.
|
|
|
|
When there are no fully selected bones,
use the normal of bones which only have the root/tip selected as a
fallback.
Without this, the extrude gizmo isn't very useful
since extrude is often used with only the tip selected.
|
|
|
|
Since this is no longer mesh only, move out of mesh,
rename next.
|
|
|
|
|
|
D3924 by @Leon95 w/ code de-duplication.
|
|
Changed the following names:
- GP_EditBrush_Data->GP_Sculpt_Data
- eGP_EditBrush_Types->eGP_Sculpt_Types
- eGP_EditBrush_Flag->eGP_Sculpt_Flag
- eGP_BrushEdit_SettingsFlag->eGP_Sculpt_SettingsFlag
- GP_BrushEdit_Settings->GP_Sculpt_Settings
- GP_EDITBRUSH_FLAG*->GP_SCULPT_FLAG*
- GP_EDITBRUSH_TYPE*->GP_SCULPT_TYPE*
- GP_BRUSHEDIT_FLAG_*->GP_SCULPT_SETT_FLAG_*
|
|
|
|
|
|
|
|
|
|
|
|
Maniphest Tasks: T57737
Differential Revision: https://developer.blender.org/D3923
|
|
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
|
|
Makes it simpler to make some changes...
Also fix order of some includes (use alphabetical please).
|
|
The main use one can imagine for this is adding tweak controls to
parts of a model that are already deformed by multiple other major
bones. It is natural to expect such locations to deform as if the
tweaks aren't there by default; however currently there is no easy
way to make a bone follow multiple other bones.
This adds a new constraint that implements the math behind the Armature
modifier, with support for explicit weights, bone envelopes, and dual
quaternion blending. It can also access bones from multiple armatures
at the same time (mainly because it's easier to code it that way.)
This also fixes dquat_to_mat4, which wasn't used anywhere before.
Differential Revision: https://developer.blender.org/D3664
|
|
|
|
|
|
Needed for situations when we can't use the orientation.
With extrude the initial extrusion recalculates normals for edges
and vertices which then don't give a useful axis.
|
|
|
|
|
|
Avoids calling poll on mouse-move for unrelated space/region types.
|
|
D3550 by @Leon95
|
|
|
|
See: T57203
|
|
|
|
|
|
|
|
Having an invisible gizmo caused event handling problems (see: T56603).
This is hard to avoid since gizmos are similar to buttons in the way
they have priority over the regular keymap.
Transform events use tweak so events to fall though to the general
view 3d keymap (for cursor placement for eg).
|
|
|
|
|
|
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3777
|
|
The shear direction should be more obvious this way.
|
|
|
|
Arrows are now shown for vertex/edge slide.
|
|
'mp' was a reference to 'manipulator'
|
|
|
|
|