a10ed84bf4
fix [ #33094 ] Even edge slide on multiple loops destroys geometry
2012-11-07 11:19:54 +00:00
29ef22a5fd
code cleanup: use enums for view3d_snap transverts.
2012-11-05 10:33:59 +00:00
71b8469e3b
Slight better solution for sequencer's transform with alt holded down
...
Set T_ALT_TRANSFORM flag event handling function rather than accessing
window manager form flushing sequencer transform data.
Visual feedback about what exactly will happen on placing strip between
two other strips could be also improved.
2012-11-05 10:15:58 +00:00
fae6c35ca7
code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few files since its done throughout the code in some places.
2012-11-04 07:18:29 +00:00
a1856a38f6
minor improvement to vector api use, replace add, multiply by 0.5 with mid_v3_v3v3
2012-10-30 14:22:49 +00:00
601cd0215c
Removed leftover debug print.
2012-10-27 12:31:35 +00:00
9fc95bd7ee
use min/max inline functions where MIN2/MAX2 were doing type conversion.
2012-10-27 11:18:54 +00:00
25f2439c47
Transform: didn't set "event handled" to zero on undhandled events.
...
(like double click)
2012-10-27 10:22:41 +00:00
0e494b74c4
style cleanup
2012-10-26 04:14:10 +00:00
0a3e0b816c
no need to update normals when running edge-split modifier since the normals are now set on conversion.
...
don't show 'Auto-Key' message when in editmode.
2012-10-24 11:53:48 +00:00
f70d2c65d8
rename api functions...
...
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-23 13:28:22 +00:00
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
67e2768570
quiet some -Wshadow warnings
2012-10-12 14:35:10 +00:00
4124e2e0c9
get the width and height of the font at once when drawing auto-key,
...
also move BLF'g global font init into its own static function.
2012-10-11 23:42:26 +00:00
38e5562447
Removed duplicate include of stdio.h
...
At least on mingw, this doesn't seem to be needed.
2012-10-11 10:19:38 +00:00
fc1467df5f
Auto key warning - Stripping down to basics
...
Now just a static icon + text display in corner of view. No blinking. No
red/orange text. No window borders.
2012-10-11 09:53:17 +00:00
27aa05ec36
Autokey warning - trying with a slight "calmer" color
...
Now it uses the same color used for indicating keyframes instead of using
"error" indications.
2012-10-09 10:41:51 +00:00
fca582a2da
Autokey warning - Only show for the active region
...
In response to some of the feedback, I've taken a second look at the situation
when multiple views are open, and indeed in that situation having it display in
every region and blinking was quite overwhelming (admittedly, I've mainly been
testing on single-view setups). Now it only shows for the region that was used
for initiating the transform.
2012-10-09 10:36:07 +00:00
62d3754a40
fix for r51198, text wasn't flashing (gcc4.7, 64bit linux)
2012-10-09 03:44:29 +00:00
a2a9b6b9a3
Made the autokeying warning optional by adding a user pref for this
...
By default, this is enabled, so that newbie users who are most likely to be
caught short by this will get the benefits of this option, while seasoned
animators are likely to know where to go to turn things off (i.e. the scratch-
an-itch urge is quite a powerful motivating force...)
2012-10-09 00:59:40 +00:00
1d6dff7e34
Some minor fixes about curves' tilt...
2012-10-08 20:01:36 +00:00
ccd9f1491a
style cleanup: line length,
...
rename V3D_PROJ_RET_SUCCESS -> V3D_PROJ_RET_OK
2012-10-07 14:00:18 +00:00
db70bfc206
code cleanup: use functions to initialize selection user data structs, use radius-squared for circle select comparisons.
...
edge_fully_inside_rect() & edge_inside_rect() args were shorts when all callers were passing ints.
2012-10-05 15:44:11 +00:00
5baa587a12
Warning indicators for animators when Auto Keying is enabled during transform
...
Recently on the bf-funboard list, there have been some requests for clearer
indications for animators that autokeying has been enabled when transforming so
that corrective action can be taken sooner if this wasn't expected. This is
especially important in distributed+collaborative environments where multiple
artists may work on a single shot file: someone working on a shot from
another animator may not be aware that autokeying was enabled, thus accidentally
setting a whole bunch of extra keyframes.
In this current incarnation, we display using red (not hardcoded, but using an
existing theme color) a solid 1px border around the 3D view while transforming
with autokeying enabled. In addition to the border, a blinking indicator (record
icon + "Auto Keying On" text) appear in the top right corner, as inspired by the
traditional recording indicator icons on camcorders.
2012-10-05 13:22:09 +00:00
5770e44f43
replace most uses of ED_view3d_project_float_noclip() with ED_view3d_project_float_global/object
2012-10-05 03:57:56 +00:00
e77004157e
make ED_view3d_project_int equivalent to ED_view3d_project_short functions.
2012-10-04 17:52:12 +00:00
da656957c3
fix [ #31654 ] Non-proportional edge slide behaving incorrectly.
2012-10-01 10:43:52 +00:00
b0fb857ef2
fix [ #32684 ] Shrink/Fatten tool has odd behavior
2012-09-28 14:31:07 +00:00
483a6cd6c2
fix for cycles/python script error in normal panel
2012-09-26 19:23:06 +00:00
d2695c62a2
Mask Editor: make Alt+S feather shrink/fatten work better when no feather was
...
defined yet, previously would just stick to original curve then.
2012-09-21 12:18:14 +00:00
edb78d090c
code cleanup:
...
- make view3d project names more consistent.
- remove apply_project_float() its not needed.
- update comments referencing an old function name.
- move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.
2012-09-20 04:56:24 +00:00
e5d0dcb8d8
Few cleanup in matrix mathutils (make mul_m3_m3m4 and mul_m4_m3m4 consistant with other similar funcs, mainly copy-safe [i.e. you can use the same matrix as operand and result, saves lines in some already over-complicated code!]).
2012-09-16 15:25:28 +00:00
232571c61a
code cleanup: replace macro for BLI_rect size/center with inline functions.
2012-09-15 11:48:20 +00:00
05755d307a
fix [ #31946 ] Masking doesn't respect pixel ratio
2012-09-13 05:29:38 +00:00
2812dd92cf
code cleanup: use BMEdit_FromObject() rather then me->edit_btmesh in more places.
2012-09-10 03:34:43 +00:00
1a7eb3454e
style cleanup
2012-09-08 08:59:47 +00:00
0ecbc047e8
code cleanup
2012-09-06 23:41:03 +00:00
56534ecdcb
style cleanup: also add debugging print function for derived mesh DM_debug_print_cdlayers()
2012-09-03 02:41:12 +00:00
0b4dfa1fcb
Fix #32450 : edge slide with multiple loops selected could move some loops
...
in the wrong direction.
2012-08-31 12:08:04 +00:00
0db80bdb88
Style cleanup - adding some braces around some multi-line statements (used after
...
if/else if/for)
2012-08-30 13:18:33 +00:00
93d89ec768
correct assert for customdata overlap, also quiet uninitialized warning in transform.
2012-08-24 08:17:53 +00:00
1939baa47d
style cleanup
2012-08-22 16:44:32 +00:00
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +00:00
5e0f254afa
utility functions for getting/setting rectangles for operators.
2012-08-08 20:38:55 +00:00
731c6ebec4
Patch [ #32246 ] (Bugfix): UV editor -> "Proportional edit" together with "constrain to bounds" does not work.
...
Patch reviewed by Campbell Barton. Thanks!
2012-08-06 13:40:29 +00:00
1d5b2ea253
mask transforming when a mesh object was in editmode (but had no UV's), failed
2012-08-03 20:12:49 +00:00
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
61469d2e3e
code cleanup: remove unneeded 'struct' qualifiers
2012-07-26 22:47:05 +00:00
ff078d309e
change clip utility function arguments to take space data and region rather then the context.
...
this allows a fix to be applied that corrects the helper line in the image view when transforming a mask.
2012-07-26 22:41:40 +00:00
ee572a9642
code cleanup: minor edits for mask/transform
2012-07-26 21:22:42 +00:00