3f3eae675a
Cleanup: naming
...
'mp' was a reference to 'manipulator'
2018-10-16 22:09:27 +11:00
07d4580f64
Gizmo: support for gizmo-group properties
...
This allows gizmo groups to store properties in the tool.
This makes sense for gizmo options which only control gizmo display and
don't control operator execution.
Unlike similar kinds of properties,
this isn't accessible via the gizmo-group-type instance.
For now the it's only stored in the workspace tool as can be done for
operator properties, so each instance doesn't have different settings
which would be confusing from a user perspective and complicate access
from the top-bar.
Later we could add gizmo-group properties if needed.
2018-10-02 17:03:23 +10:00
c47be43674
Gizmo: add invoke_prepare callback
...
Allows gizmo groups to set values based on the gizmo about to be invoked.
2018-09-26 16:31:31 +10:00
342e73f90f
Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3719
2018-09-24 18:48:29 +02:00
b931e7ab4f
Gizmo: option to hide from selection
...
Allows some gizmo to be used as guides.
2018-09-24 16:40:21 +10:00
5fff3d2237
Cleanup: rename gizmo flag
2018-09-24 16:20:08 +10:00
eab3ca7348
Cleanup: Unused variable in release build
2018-09-19 09:48:32 +02:00
b8592b656b
Gizmo: Functions to re-initialize a group type
...
Partially re-initializing a gizmo is often more trouble then removing
and re-adding.
2018-09-17 14:30:46 +10:00
c2fb0bacb8
Gizmo: code comments
...
Note about limits of new tool-init flag.
2018-09-13 13:35:26 +10:00
1f1802307f
Gizmo: value2d utility to adjust operator values
...
This allows any operator to interactively redo without having to
manually make each operator modal.
2018-09-13 09:10:19 +10:00
8d3a39ff56
Cleanup: use float name in property range function
2018-09-13 08:17:16 +10:00
f7f4c05bbf
WM: add temporary field to gizmo's
2018-09-08 12:49:46 +10:00
49fa58e330
Gizmo: fix extrude handles
...
Only use the 2D selection function when 3D selection isn't defined.
Regression from e18a2c4ed7
2018-09-07 16:36:02 +10:00
f1c8c25a3e
UI: rename Translate/Grab to Move in UI, shortcuts stay the same.
2018-09-06 12:22:09 +02:00
26c17b0ab1
UI: delay tool label tip display
...
Displaying the labels tip immediately feels too intrusive,
make this work more like regular tooltips, displaying more quickly.
Tooltips can now uses multiple passes, each pass with it's own delay
for the next pass to show.
2018-09-06 14:19:15 +10:00
7c6136b35c
Merge branch 'master' into blender2.8
2018-08-31 13:40:10 +10:00
f189ad1f4b
Cleanup: rename gizmo access functions
...
Add float in API names since we may want access to other types.
2018-08-21 17:01:14 +10:00
e88e80a6a0
3D View boarder/lasso select tool options
...
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-08-15 01:48:55 +10:00
e18a2c4ed7
Gizmo: support for 2D selection checks for 3D gizmos
...
This means 3D manipulators can use their own logic
for checking if the cursor intersects.
2018-08-10 17:32:40 +10:00
3daf5cc1ce
Gizmo: 2d select now takes region coords
...
Was taking an event, when only the region coords are needed.
2018-08-10 08:14:22 +10:00
31fcd40efd
Cleanup: use static variables
2018-07-31 20:45:43 +10:00
d28248595b
Silencing a bunch of compiler warnings
...
Most of these were mismatched const qualifiers
2018-07-31 03:04:32 +12:00
b457cae397
Cleanup: use variable names based on term gizmo
2018-07-15 14:35:33 +02:00
e00f0686f7
Cleanup: style, doxy file
2018-07-15 10:53:34 +02:00
5ebebcfbff
WM: rename manipulator to gizmo internally
2018-07-14 23:49:00 +02:00
cd16004132
WM: rename files, manipulator -> gizmo
...
Edit doxy files and header guards only.
2018-07-14 23:16:34 +02:00