88a80fcec8
Cleanup: commas at the end of enums
...
Without this clang-format may wrap them onto a single line.
2019-01-16 00:03:03 +11:00
b8e8c0e325
Cleanup: comment line length (editors)
...
Prevents clang-format wrapping text before comments.
2019-01-15 23:30:31 +11:00
2891043b58
Outliner: better support for clips/masks ('Blender File' view)
...
- clips/masks were not showing an icon [both dont have a dedicated icon,
took the ones used elsewhere]
- masks hit an assert in outliner_add_element()
- missing outliner update when adding a mask
spotted while looking into T59939
Reviewers: mont29, brecht
Differential Revision: https://developer.blender.org/D4142
2019-01-04 15:51:46 +01: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
b076b3853c
Merge branch 'master' into blender2.8
2018-07-02 12:03:56 +02:00
b88e51dd55
Cleanup: use bool for poll functions
2018-07-02 11:51:31 +02:00
a8777f9058
Merge branch 'master' into blender2.8
2017-11-20 20:45:03 +11:00
0a69e3b307
Option not to select with un-hide
...
D1518 from @mba105 w/ edits
2017-11-20 02:28:07 +11:00
ec2bbc90e7
Merge branch 'master' into blender2.8
2017-10-18 17:09:41 +11:00
ab7ebf2b10
Cleanup: Use const for RNA EnumPropertyItem args
...
Practically all access to enum data is read-only.
2017-10-18 16:04:07 +11:00
e2f42ff907
Merge branch 'master' into blender2.8
2017-09-06 17:23:47 +02:00
16fbb47c88
Use normalized project functions
2017-09-07 01:20:59 +10:00
d675415eef
Replace all old DAG calls with direct calls to new DEG and remove BKE_depsgraph.h
...
This removes BKE_depsgraph.h and depsgraph.c
2017-06-08 10:17:04 +02:00
81e584ed17
CMake: Use GCC7's -Wimplicit-fallthrough=5
...
Use to avoid accidental missing break statements,
use ATTR_FALLTHROUGH to suppress.
2017-05-20 14:01:03 +10:00
48b1656a6c
Cleanup: shadowing (editors)
2015-11-23 17:40:50 +11:00
Julian Eisel
ef629e0d50
Quiet warnings
...
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-04 01:04:37 +02:00
f9c7cbd989
revert part of 7a1dc20
...
These warnings are false positives & confuses intended logic to set dummy values.
2015-01-12 11:46:44 +11:00
7a1dc20560
Cleanup: quite some harmless but noisy warnings from gcc...
2015-01-11 21:14:39 +01:00
491839b3c8
Fix T42857: Inconsistency between cache line visibility and ability to change frame from image space
2014-12-09 20:34:28 +05:00
bdc41ca756
Code cleanup: Move output arguments to the end of the list
2014-10-13 18:06:18 +02:00
bcee57e74e
Roto: Improve spline sliding vs. curvature detection
...
If the mouse is closer to the spline than to it's center do a
spline curvature correction operator instead.
2014-10-13 17:59:03 +02:00
99a386da9e
Code cleanup: Prevent possible int->float conversion
2014-10-13 17:52:14 +02:00
fa021e3a44
Code cleanup: Use new SQUARE() macro to get squared distance threshold
2014-10-13 17:48:10 +02:00
0a738280e1
Cleanup
2014-10-11 11:44:28 +02:00
96c2d67797
Fix T42030: Grabbing the whole mask interfere with grabbing individual curve
...
This fix is for the final 2.72 release.
2014-10-02 19:28:07 +06:00
2cca83caf1
Fix T41981: Crash by Copy mask splines without splines
2014-09-28 14:37:33 +06:00
dcc281b74a
Fix T41961: Crash by Copy n Paste splines to new mask without layer
...
It makes much more sense to ensure layer before pasteing, makes roto
as easy as it has never been before!
2014-09-26 14:37:30 +06:00
09fc5d6a37
Roto: Add spline dragging zone in it's center
...
This dragging zone is visualized as the circle (the same as object origin)
in the spline bounding box center and dragging that circle drags the whole
spline.
Pretty much basic functionality, but quite useful in practice.
Requested by our roto team (Sebastian and Sean :) in IRC.
2014-08-19 21:29:45 +06:00
3196a230a6
Mask slide can be cancelled with RMB now
2014-08-19 17:23:18 +06:00
22a961317a
Fix T40546: Duplicate spline breaks shape keys
2014-06-19 13:53:43 +10:00
11a156255d
Fix T40412: Moving mask layers does not invalidate mask drawing in the movie clip editor
...
Issue was caused by a missing WM_event_add_notifier(..) in the mask_layer_move_exec() function...
2014-05-28 20:00:41 +02:00
a15b3c4d11
Code cleanup: use bool
2014-04-11 11:33:29 +10:00
392065ed40
Fix for typos in array size
2014-04-04 18:03:17 +06:00
41e2dc7746
Fix for mask slide operators didn't work with LMB selection
2014-04-04 17:23:45 +06:00
1aa753ce88
Mask spline slide didn't respect auto-key
2014-04-04 17:19:36 +06:00
2a62a06e86
Mask spline slide: holding Ctrl will make handles free
2014-04-04 17:08:35 +06:00
0579a6e209
Followup to the previous commit: forgot to tweak handle type
2014-04-04 16:49:50 +06:00
68bc675af4
Mask spline segment slide improvement
...
This implements weighted slide of second handle, just the
same exact way as it works in Gimp.
2014-04-04 16:44:09 +06:00
896725e0bb
Mask point slide: clean-up of SlidePointData structure
2014-04-04 15:11:39 +06:00
31c73586d6
Maks point slide: get rid of jump when you press shift
2014-04-04 15:03:14 +06:00
6cf86f2725
Mask point slide: remove commented out code
...
The code wasn't needed for quite a while already, so
let's get rid of it.
2014-04-04 14:36:41 +06:00
884b9e27f6
Mask curvature slide: reduce jumps on slide
...
Also correct wrong logic around tweaking handles type.
2014-04-04 14:34:11 +06:00
0102d57c1d
Slide mask spline segment to define it's curvature
...
This actually implements the idea used in Gimp which is grabbing
an arbitrary point on the spline and dragging it, ensuring spline
goes over this point. This is really useful way to tweak spline
curvature.
Currently only affects on a closest handle, meaning no weighting
on changes for both handles which are adjacent to the same segment
will happen just yet,
Another limitation is that currently such a slide is a big jumpy
when you start sliding. This is because projection is not used
to calculate u value because projection used to fail a lot for
me here and didn't find a nice solution for this yet. But this is
to be improved for sure!
2014-04-03 18:20:17 +06:00
f38331adef
Code cleanup: style
2014-04-03 09:24:09 +11:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
42fca2f145
Usual UI messages fixes...
2014-03-31 21:15:56 +02:00
c58f000e57
Vector handles were hidden but were allowed to slide apparently
2014-03-31 18:33:09 +06:00
5e4f789173
Code cleanup: use false/true/bool for masking
2014-03-31 15:23:27 +06:00
851805d84e
Masking: fix for initialdeather point not being offset to the mouse position
2014-03-31 15:00:40 +06:00
f06a1b77e2
Maksing: fix issue when it's not possible to drag right handle of aligned handles
2014-03-31 15:00:40 +06:00